From 4dc2925b7a8dbbb20b497f3c151a041b02c5786e Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 16 Jul 2014 09:00:41 +0200 Subject: JS compilation works again --- lib/system/jssys.nim | 4 ++-- todo.txt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/system/jssys.nim b/lib/system/jssys.nim index 1196a81ef..8766906e3 100644 --- a/lib/system/jssys.nim +++ b/lib/system/jssys.nim @@ -646,10 +646,10 @@ proc tenToThePowerOf(b: int): BiggestFloat = result = 1.0 while true: if (b and 1) == 1: - result *= a + result = result * a b = b shr 1 if b == 0: break - a *= a + a = a * a const IdentChars = {'a'..'z', 'A'..'Z', '0'..'9', '_'} diff --git a/todo.txt b/todo.txt index 16c05186a..bd8f7f89e 100644 --- a/todo.txt +++ b/todo.txt @@ -2,7 +2,6 @@ version 0.9.6 ============= - scopes are still broken for generic instantiation! -- integrate the new LL into the devel branch - start experimental branch - overloading of '='; general lift mechanism -- cgit 1.4.1-2-gfad0 compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log tree commit diff stats
path: root/compiler/condsyms.nim
blob: 17bb5db55ac18df596c687a957d8bad64d677cc9 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91