diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-08-31 13:59:25 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-08-31 13:59:25 +0200 |
commit | a08fb61da974e7384d63fd2e08f60c97594a01c6 (patch) | |
tree | 62d24a2bcc01e5753f364e50b2aa0cd0aa445c89 /tests/concepts | |
parent | 4846e4e4527968c03fab745d7baaf6fb9ee8db4d (diff) | |
download | Nim-a08fb61da974e7384d63fd2e08f60c97594a01c6.tar.gz |
make tests green again
Diffstat (limited to 'tests/concepts')
-rw-r--r-- | tests/concepts/t3330.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/concepts/t3330.nim b/tests/concepts/t3330.nim index 04add2b6f..fcd5054ef 100644 --- a/tests/concepts/t3330.nim +++ b/tests/concepts/t3330.nim @@ -2,16 +2,16 @@ discard """ errormsg: "type mismatch: got (Bar[system.int])" nimout: ''' t3330.nim(40, 4) Error: type mismatch: got (Bar[system.int]) -but expected one of: +but expected one of: proc test(foo: Foo[int]) t3330.nim(25, 8) Hint: Non-matching candidates for add(k, string, T) -proc add[T](x: var seq[T]; y: T) -proc add(result: var string; x: float) proc add(x: var string; y: string) -proc add(x: var string; y: cstring) proc add(x: var string; y: char) proc add(result: var string; x: int64) +proc add(x: var string; y: cstring) +proc add(result: var string; x: float) proc add[T](x: var seq[T]; y: openArray[T]) +proc add[T](x: var seq[T]; y: T) t3330.nim(25, 8) template/generic instantiation from here t3330.nim(32, 6) Foo: 'bar.value' cannot be assigned to |