make tests green again
This commit is contained in:
parent
7db5bad016
commit
1c0c9d8959
1 changed files with 1 additions and 0 deletions
|
|
@ -493,6 +493,7 @@ proc fillPartialObject(c: PContext; n: PNode; typ: PType) =
|
|||
addSon(obj.n, newSymNode(field))
|
||||
n.sons[0] = makeDeref x
|
||||
n.sons[1] = newSymNode(field)
|
||||
n.typ = field.typ
|
||||
else:
|
||||
localError(n.info, "implicit object field construction " &
|
||||
"requires a .partial object, but got " & typeToString(obj))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue