Skip to content

Instantly share code, notes, and snippets.

@Varriount
Created November 12, 2013 19:10
Show Gist options
  • Save Varriount/7436886 to your computer and use it in GitHub Desktop.
Save Varriount/7436886 to your computer and use it in GitHub Desktop.
of nkBracketExpr: # Line 1923 of semexpr.nim
checkMinSonsLen(n, 1)
var s = qualifiedLookup(c, n.sons[0], {checkUndeclared})
if not isNil(n.sons[0]) and n.sons[0].kind in {nkDotExpr}:
var dotSon = n.sons[0]
if not isNil(dotSon):
var lastSon = dotSon.sons[dotSon.sons.len-1]
if not isNil(lastSon) and lastSon.kind in {nkIdent}:
var g = qualifiedLookup(c, lastSon, {checkUndeclared}) # Errors in system.nim, line 2203
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment