diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-03-28 00:51:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 08:51:16 +0100 |
commit | cfa1a827dc2c782924e50c92f875277161128490 (patch) | |
tree | c71e4e936e1c62037c09bb708b1fce68c442f1c1 /tests | |
parent | 95ab9ab75da074fcb60f9f2c0e4ef4eab7624f8b (diff) | |
download | Nim-cfa1a827dc2c782924e50c92f875277161128490.tar.gz |
fix #13730 (#13787)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/statictypes/tstatictypes.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/statictypes/tstatictypes.nim b/tests/statictypes/tstatictypes.nim index c95e499d7..afd15b67d 100644 --- a/tests/statictypes/tstatictypes.nim +++ b/tests/statictypes/tstatictypes.nim @@ -88,6 +88,10 @@ when true: reject: var x = static(v) +block: # issue #13730 + type Foo[T: static[float]] = object + doAssert Foo[0.0] is Foo[-0.0] + when true: type ArrayWrapper1[S: static int] = object |