From 969981c1da0e07d9d6867609a335c625779c04c3 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 26 Aug 2016 13:32:52 +0200 Subject: fixes #3606 --- compiler/ast.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler') diff --git a/compiler/ast.nim b/compiler/ast.nim index 5ed458aff..d301417ac 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -1497,7 +1497,7 @@ proc hasSubnodeWith*(n: PNode, kind: TNodeKind): bool = proc getInt*(a: PNode): BiggestInt = case a.kind - of nkIntLit..nkUInt64Lit: result = a.intVal + of nkCharLit..nkUInt64Lit: result = a.intVal else: internalError(a.info, "getInt") result = 0 -- cgit 1.4.1-2-gfad0 ab219e58023cdf85c77804519c96c231e'/> This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log tree commit diff stats
path: root/tests/threads/treusetvar.nim
blob: 672da6bdd4bd1b92b549083b75f05f475ac3894a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28