diff options
Diffstat (limited to 'tests/overload/tstatic_with_converter.nim')
-rw-r--r-- | tests/overload/tstatic_with_converter.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/overload/tstatic_with_converter.nim b/tests/overload/tstatic_with_converter.nim index 8209e8399..e830e8a22 100644 --- a/tests/overload/tstatic_with_converter.nim +++ b/tests/overload/tstatic_with_converter.nim @@ -42,7 +42,7 @@ proc `^`(x: vfloat, exp: static[float]): vfloat = pow(x, exp) proc `$`(x: vfloat): string = - let y = cast[ptr float](unsafeAddr x) + let y = cast[ptr float](addr x) # xxx not sure if intentional in this issue, but this returns "" echo y[] |