Skip to content

Commit

Permalink
TUnop() expr
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfa committed Apr 1, 2024
1 parent ab98419 commit d20efc5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/cscompiler/components/CSCompiler_Expr.hx
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,17 @@ class CSCompiler_Expr extends CSCompiler_Base {
)
})
}
/*
case TUnop(op, postFix, e): {
result = unopToCS(op, e, postFix);
haxeExpr: expr,
def: CSExprStatement({
haxeExpr: expr,
type: csType,
def: CSUnop(
op, postFix, csStatementToExpr(_compileExpression(e))
)
})
}
/*
case TFunction(tfunc): {
// TODO: Lambda?
}
Expand Down

0 comments on commit d20efc5

Please sign in to comment.