From 0561e96f21e00ba8b3fa63e474ed4c7667543dde Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 27 Dec 2016 23:49:22 +0100 Subject: [PATCH] Fix build with 2.071.2 --- .travis.yml | 1 + README.md | 25 +++++++++++++------------ source/tanya/container/vector.d | 2 -- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0ca2a71..69766e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ language: d d: - dmd-2.072.1 + - dmd-2.071.2 env: matrix: diff --git a/README.md b/README.md index 19206cd..b05f3a3 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,15 @@ Tanya consists of the following packages: * `container`: Queue, Vector, Singly linked list. * `crypto`: Work in progress TLS implementation. * `math`: Multiple precision integer and a set of functions. -* `memory`: Tools for manual memory management (allocator, reference counting, helper functions). +* `memory`: Tools for manual memory management (allocator, reference counting, +helper functions). * `network`: URL-Parsing, sockets. +### Supported compilers + +* dmd 2.072.1 +* dmd 2.071.2 + ### Current status The library is currently under development, but some parts of it can already be @@ -42,23 +48,18 @@ testing and work on its performance. I'm currently mostly working on `crypto` that is not a complete cryptographic suite, but contains (will contain) algorithm implementations required by TLS. -### Other properties +### Further characteristics -* Tanya is a native D library (only D and Assembler are tolerated). +* Tanya is a native D library. -* It is important for me to document the code and attach at least a few unit -tests where possible. So the documentation and usage examples can be found in -the source code. +* Documentation and usage examples can be found in the source code. +Online documentation will be published soon. -* Tanya is mostly tested on a 64-bit Linux and some features are -platform-dependant, but not because it is a Linux-only library. Therefore any -help to bring better support for Windows and BSD systems would be accepted. +* Tanya is cross-platform. The development happens on a 64-bit Linux, but it +* is being tested on Windows and FreeBSD as well. * The library isn't thread-safe. Thread-safity should be added later. -* I'm working with the latest dmd version, but will be looking to support other -D compilers and keep compatibility with the elder dmd versions in the future. - ## Contributing Since I'm mostly busy writing new code and implementing new features I would diff --git a/source/tanya/container/vector.d b/source/tanya/container/vector.d index 5e8388b..96c18f9 100644 --- a/source/tanya/container/vector.d +++ b/source/tanya/container/vector.d @@ -949,8 +949,6 @@ private @nogc unittest // Test that structs can be members of the vector. static assert(is(typeof(Vector!TestA()))); - static assert(is(typeof(immutable Vector!TestA(IL(TestA()))))); - static assert(is(typeof(const Vector!TestA(IL(TestA()))))); } private @nogc unittest