fix #19199; properly fold float conversion
This commit is contained in:
parent
2f4900615a
commit
ab47707586
2 changed files with 7 additions and 1 deletions
6
tests/vm/t19199.nim
Normal file
6
tests/vm/t19199.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# bug #19199
|
||||
proc mikasa(x: float) = doAssert x == 42
|
||||
|
||||
static:
|
||||
mikasa 42.uint.float
|
||||
mikasa 42.uint.float
|
||||
Loading…
Add table
Add a link
Reference in a new issue