fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with -d:release

This commit is contained in:
Araq
2015-04-24 17:07:36 +02:00
parent 4d20aafb5e
commit ecc0090939
5 changed files with 38 additions and 17 deletions

View File

@@ -0,0 +1,20 @@
# bug #2551
type Tup = tuple
A, a: int
type Obj = object
A, a: int
var x: Tup # This works.
var y: Obj # This doesn't.
# bug #2212
proc f() =
let
p = 1.0
P = 0.25 + 0.5
f()