From 80e9270580e00cf99a20839bde0cd854f6fab395 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 26 Mar 2019 09:50:16 +0100 Subject: [PATCH] macros: typo (cherry picked from commit 802ecbc49ef2a79f7fdef60e24983bd2be0c3bad) --- 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 ef8e1e21a9..9b82e658c8 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -649,7 +649,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)