diff options
author | zah <zahary@gmail.com> | 2018-03-24 16:28:09 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-03-24 15:28:09 +0100 |
commit | 121b9e26fb9d1ae6037c806dbb12a3ae0e26ded6 (patch) | |
tree | 94e8a59c483046c06634191ddb75f71f10b2d821 /tests/cpp | |
parent | 2e7a0e1cdd1c942df9cfb0310751b7f1f0190f02 (diff) | |
download | Nim-121b9e26fb9d1ae6037c806dbb12a3ae0e26ded6.tar.gz |
Static[T] fixes (#7333)
* fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests
Diffstat (limited to 'tests/cpp')
-rw-r--r-- | tests/cpp/tcovariancerules.nim | 2 | ||||
-rw-r--r-- | tests/cpp/tvector_iterator.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/cpp/tcovariancerules.nim b/tests/cpp/tcovariancerules.nim index 9365a3a18..f81d67a50 100644 --- a/tests/cpp/tcovariancerules.nim +++ b/tests/cpp/tcovariancerules.nim @@ -300,7 +300,7 @@ reject wantsVarPointer2(pcat) # covariance may be allowed for certain extern types -{.emit: """ +{.emit: """/*TYPESECTION*/ template <class T> struct FN { typedef void (*type)(T); }; template <class T> struct ARR { typedef T DataType[2]; DataType data; }; """.} diff --git a/tests/cpp/tvector_iterator.nim b/tests/cpp/tvector_iterator.nim index 9df3754ba..4d686955f 100644 --- a/tests/cpp/tvector_iterator.nim +++ b/tests/cpp/tvector_iterator.nim @@ -2,7 +2,7 @@ discard """ targets: "cpp" """ -{.emit: """ +{.emit: """/*TYPESECTION*/ template <class T> struct Vector { |