Open cbchouinard opened 9 years ago
We should add arithmetic operation support for 2d in virtuals. For example the following doesn't work:
height: == "quater"[height] / 4; width: == "quater"[width] / 4; **position: == "quater"[top-right] / 2;** }
When adding an arithmetic operation after the 2d property it generated an AST using the name of the 2d property.
2D props work with virtuals, but just found out they don't work nested in expressions...
I'll try to extract the 2d expressions from the AST instead of at the parsing stage.
We should add arithmetic operation support for 2d in virtuals. For example the following doesn't work:
sq2 {
When adding an arithmetic operation after the 2d property it generated an AST using the name of the 2d property.