From 802ecbc49ef2a79f7fdef60e24983bd2be0c3bad Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 26 Mar 2019 09:50:16 +0100 Subject: macros: typo --- lib/core/macros.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 85eb597b2..6525770eb 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -716,7 +716,7 @@ proc newLit*(f: float64): NimNode {.compileTime.} = result = newNimNode(nnkFloat64Lit) result.floatVal = f -when compiles(float128): +when declared(float128): proc newLit*(f: float128): NimNode {.compileTime.} = ## produces a new float literal node. result = newNimNode(nnkFloat128Lit) -- cgit 1.4.1-2-gfad0