ringabout
c452d706ae
fixes #24850 ; macro-generated if/else and when/else statements have m… ( #24852 )
...
…ismatched indentation with repr
fixes #24850
(cherry picked from commit 29a2e25d1e )
2025-04-09 07:54:44 +02:00
konsumlamm
d37b620757
Make repr(HSlice) always available ( #22332 )
...
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com >
2023-08-04 05:29:48 +02:00
ringabout
4fa86422c0
stdlib tests now check refc too ( #21664 )
...
* stdlib tests now check refc too
* typo
* fixes line numbers
* disable cpp
* do not touch
2023-04-21 15:37:58 +02:00
metagn
5adfaa2a92
render post expr blocks better ( #20871 )
...
* render post expr blocks
* remove pointless diff
* fix PR split mistake
2022-11-22 20:40:05 +01:00
ringabout
3d2f0e2c7c
make more standard libraries work with nimPreviewSlimSystem ( #20343 )
...
* make more standard libraries work with `nimPreviewSlimSystem`
* typo
* part two
* Delete specutils.nim
* fixes more tests
* more fixes
* fixes tests
* fixes three more tests
* add formatfloat import
* fix
* last
2022-09-27 20:06:23 +02:00
flywind
9df195ef58
style usages part one (openarray => openArray) ( #19321 )
...
* style usages (openArray)
* revert doc changes
2022-01-04 13:29:50 +01:00
Timothee Cour
8d2f6bba3a
support same-line doc comments in routines ( #18595 )
...
* support same-line comments in routines
* remove assert as per review comment
2021-07-27 19:50:59 +02:00
Timothee Cour
201ac2b9c9
fix nim CI following #17455 (same postmortem as #17721 ) ( #17740 )
2021-04-16 11:26:05 -07:00
Timothee Cour
1b65b9cc19
refs #17292 fix repr: (discard) now does't render as discard which gave illegal code ( #17455 )
...
* refs #17292 fix `repr` with (discard)
* add tests
* add more tests
2021-04-16 14:55:51 +02:00
Timothee Cour
877cc5e4ff
make repr handle setters foo= ( #17683 )
2021-04-09 09:37:10 +02:00
Timothee Cour
4a11a04fba
fix #14850 : repr now correctly renders do ( #17623 )
...
* fix #14850 : `repr` now correctly renders `do`
* add tests
* fix test
2021-04-03 16:05:37 +02:00
Timothee Cour
fe7a76f62f
repr: fix rendering of 'big, =destroy etc ( #17624 )
2021-04-03 08:19:17 +02:00
Timothee Cour
f3a6427109
refs #17292 fix repr with do: ( #17449 )
...
* refs #17292 fix `repr` with `do:`
* address comment
2021-03-23 08:34:04 +01:00
Timothee Cour
b3c3557c33
fix #16025 repr now consistent: does not insert trailing newline ( #16034 )
2020-11-19 12:12:51 -08:00
Araq
d69a7842fa
fixes #7878
2019-01-14 12:36:34 +01:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01: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
patrick dw
69e15ac32f
renamed writeln to writeLine in tests
2015-06-19 01:34:34 -05:00
Araq
20b5f31c03
new tester; all tests categorized
2014-01-13 02:10:03 +01:00