summary refs log blame commit diff stats
path: root/tests/ccgbugs/tpartialcs.nim
blob: 12ff65c3767622369c08ff56da9e8a4d344f6f2b (plain) (tree)



















                          
# 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()