fixes silly typo causing tons of async regressions
This commit is contained in:
parent
0a628f36f0
commit
2ce9845fe4
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ proc createUpField(c: var DetectionPass; dest, dep: PSym; info: TLineInfo) =
|
||||||
let fieldType = if c.graph.config.selectedGc == gcDestructors:
|
let fieldType = if c.graph.config.selectedGc == gcDestructors:
|
||||||
c.getEnvTypeForOwnerUp(dep, info) #getHiddenParam(dep).typ
|
c.getEnvTypeForOwnerUp(dep, info) #getHiddenParam(dep).typ
|
||||||
else:
|
else:
|
||||||
c.getEnvTypeForOwner(dest, info)
|
c.getEnvTypeForOwner(dep, info)
|
||||||
if refObj == fieldType:
|
if refObj == fieldType:
|
||||||
localError(c.graph.config, dep.info, "internal error: invalid up reference computed")
|
localError(c.graph.config, dep.info, "internal error: invalid up reference computed")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue