Bung
4ea0ce9149
fix #15836 proc arg return type auto unexpectly match proc with concr… ( #21065 )
...
* fix #15836 proc arg return type auto unexpectly match proc with concrete type
* fix #16244
* add test case for #12869
(cherry picked from commit 5917c2d5b7 )
2023-04-26 10:53:43 +02:00
Saem Ghani
b7ad29e692
fix #18113 ( #18124 )
2021-05-31 13:27:44 +02:00
flywind
b1b767ed0d
close #17157 add testcase ( #17531 )
2021-03-27 01:51:57 -07:00
hlaaftana
49b64e8dc7
Remove declPragmas from lambdas [backport:1.0] ( #16966 )
...
* Remove declPragmas from lambdas [backport:1.0]
* add test for exportc
* fix test
* fix align, nodecl -> noinit
2021-02-09 14:23:06 +01:00
Timothee Cour
31a8cf16bb
testament spec: remove errmsg alias of errormsg ( #16188 )
2020-11-29 17:32:34 -08:00
Timothee Cour
e8f4586c68
allow typed/untyped in magic procs ( #12911 )
2019-12-17 11:07:32 +01:00
Arne Döring
ae9bb4474b
fixes #12033 ( #12039 )
2019-08-26 20:14:21 +02:00
cooldome
c19cd14fc9
fixes #10838 ( #10841 )
...
* fixes #10838
* reject func in types instead
* trigger tests
2019-03-18 11:04:01 +01:00
Neelesh Chandola
8922063bd8
typed/untyped return type is invalid for everything except templates and macros ( #10275 )
2019-01-15 08:08:12 +01:00
Neelesh Chandola
730b1b2b87
proc does not take untyped/typed as argument ( #9981 )
...
* proc does not take untyped/typed as argument
* Add TODO
2018-12-19 16:18:57 +01:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Miran
749dbce4c6
Merge tests into a larger file (part 5 of ∞) ( #9368 )
...
* merge magics
* merge metatype tests
* merge method tests
* merge objects tests
* change `import future` to `import sugar`
Nim in Action tests are left with `import future`, to ensure compatibility.
* merge overload tests
* merge proc tests
* merge procvar tests
* merge range tests
* merge seq tests
* merge sets tests
* remove wrong assert from `tsets3`
* fix `jsTests`
* better fix
2018-10-16 10:50:10 +02:00
LemonBoy
d94ee75d1c
Pick skParam symbols when resolving type idents ( #8720 )
...
Fixes #8357
2018-08-22 15:49:43 +02:00
LemonBoy
b28c7d434b
Update all the default parameters after an instantiation ( #8689 )
...
The old implementation relied on the (now?) wrong assumption that
default-valued parameters can only be placed after the required ones.
Fixes #8683
2018-08-20 16:54:13 +02:00
Andreas Rumpf
74fe7a800b
make tests green again
2018-05-02 13:34:54 +02:00
Adam Strzelecki
e80465dacf
tests: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
20b5f31c03
new tester; all tests categorized
2014-01-13 02:10:03 +01:00