Navigation Menu

Skip to content

Commit

Permalink
ast: Preserve AST_OPOPT_ISINI for astTypeIniFlush() in astNewASSIGN()
Browse files Browse the repository at this point in the history
  • Loading branch information
dkl committed May 2, 2014
1 parent 1495d7b commit b0fb8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/ast-node-assign.bas
Expand Up @@ -515,7 +515,7 @@ function astNewASSIGN _
'' unless there are ctors/dtors (let/cast overloads were
'' already handled above).
if( (typeHasCtor( l->dtype, l->subtype ) or typeHasDtor( l->dtype, l->subtype )) = FALSE ) then
return astTypeIniFlush( l, r, TRUE, AST_OPOPT_ISINI )
return astTypeIniFlush( l, r, TRUE, options and AST_OPOPT_ISINI )
end if
end if

Expand Down

0 comments on commit b0fb8bc

Please sign in to comment.