Skip to content

Commit

Permalink
- let FxNop have a value type, even if it's just TypeError.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Dec 15, 2018
1 parent f1fe9a0 commit 8e24a50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripting/backend/codegen.h
Expand Up @@ -2104,6 +2104,7 @@ class FxNop : public FxExpression
: FxExpression(EFX_Nop, p)
{
isresolved = true;
ValueType = TypeError;
}
ExpEmit Emit(VMFunctionBuilder *build)
{
Expand Down

0 comments on commit 8e24a50

Please sign in to comment.