30 Commits

Author SHA1 Message Date
SirOlaf
d2f36c071b Exclude block from endsInNoReturn, fix regression (#22632)
Co-authored-by: SirOlaf <>
2023-09-02 20:42:40 +02:00
SirOlaf
3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612)
* Rewrite endsInNoReturn

* Handle `try` stmt again and add tests

* Fix unreachable code warning

* Remove unreachable code in semexprs again

* Check `it.len` before skip

* Move import of assertions

---------

Co-authored-by: SirOlaf <>
2023-09-01 06:41:39 +02:00
flywind
70a30317f7 fix #16693: testament spec nimout too lax (#16698)
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
2021-04-04 13:47:28 -07:00
Araq
ff1c0bae4c update tests that tested for the 'discard' error messages 2020-05-02 22:31:19 +02:00
Arne Döring
1105d03644 require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
Arne Döring
e012eb1001 updated tests to be executed 2018-11-23 11:58:28 +01:00
Araq
6279b0587a make tests green again 2018-11-16 19:54:49 +01:00
Andreas Rumpf
32afc1a562 make tests green again 2018-08-10 17:27:30 +02:00
Andreas Rumpf
ae82406c8b make tests green again 2018-07-05 19:14:18 +02:00
LemonBoy
dbbe311e18 Minor changes to discardable handling (#8155) 2018-07-01 15:27:14 +02:00
Andreas Rumpf
d8fde9daba make tests green 2018-05-05 21:45:07 +02:00
Araq
0b0baece89 fixes #6980 2017-12-27 21:26:37 +01:00
Fabian Keller
6df6ec27ec Improved collection-to-string behavior (#6825) 2017-12-14 14:02:13 +01:00
Andreas Rumpf
5b57abe354 closes #6166 2017-11-18 14:18:00 +01:00
Andreas Rumpf
957105520f make tests green again 2017-10-29 21:27:22 +01:00
Andreas Rumpf
d02486aa48 compiler: better error messages (#5613) 2017-03-26 20:24:06 +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
def
64903e7050 Use ^ instead of - in slices 2015-03-28 00:38:15 +01:00
Simon Hafner
1e1d58c3bc nimout instead of msg for warnings 2015-03-05 14:53:46 -06:00
Simon Hafner
70eaf92ff0 Merge branch 'devel' into warning-for-result 2015-03-05 14:44:54 -06:00
Simon Hafner
f592240c54 added test for result shadow warning 2015-03-05 14:44:50 -06:00
Simon Hafner
5ecc461a94 Fixes #2030 2015-01-29 04:40:27 -06:00
Araq
212293197f fixes #1161 2014-07-01 21:47:53 +02:00
Araq
9fdb131686 fixes #992 2014-03-26 16:22:34 +01:00
Araq
4f946cb44e fixes #942 2014-03-05 08:30:05 +01:00
Araq
b7bb56bdca made some tests green; htmlgen still broken 2014-02-25 08:41:29 +01:00
Araq
e210b049e9 fixes #712 2014-02-14 02:29:19 +01:00
Araq
3be07d842a fixes regression: constant fac4 didn't work 2014-02-06 02:41:53 +01:00
Araq
47e4f9698c fixes #844 2014-02-02 10:00:10 +01:00
Araq
20b5f31c03 new tester; all tests categorized 2014-01-13 02:10:03 +01:00