Regression: getType fails in certain cases #5129

Closed
yglukhov opened this Issue Dec 16, 2016 · 0 comments

Projects

None yet

1 participant

@yglukhov
Member

Regression introduced in dc5e4b0.

import macros

macro foo(a: typed): untyped =
    let aa = getType(a)[1]
    let t = getType(aa[1]) # Error: node has no type

type RefObj = ref object
    a: int

foo(RefObj)
@yglukhov yglukhov referenced this issue in yglukhov/nimx Dec 16, 2016
Closed

Uncommitted source file? #191

@Araq Araq added a commit that closed this issue Dec 17, 2016
@Araq Araq fixes #5129 d4c33df
@Araq Araq closed this in d4c33df Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment