Regression: identifier expected, but found ... #4564

Closed
yglukhov opened this Issue Aug 3, 2016 · 0 comments

Projects

None yet

1 participant

@yglukhov
Member
yglukhov commented Aug 3, 2016

Introduced somewhere between a8edf67 and 902c264.

# a.nim
import b
type Bar* = ref object of RootObj
proc foo(a: Bar): int = 0
var a: Bar
let b = a.foo() > 0
# b.nim
type Point* = ref object of RootObj
proc `>`*(p1, p2: Point): bool = false
$ nim c a.nim
a.nim(6, 10) Error: identifier expected, but found 'foo(a)'
@yglukhov yglukhov changed the title from Regression: identifier expected instead of ... to Regression: identifier expected, but found ... Aug 3, 2016
@Araq Araq added a commit that closed this issue Aug 3, 2016
@Araq Araq fixes #4564 6d98c71
@Araq Araq closed this in 6d98c71 Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment