FlatLang / Flat

(Deprecated) Soon-to-be legacy Flat compiler all in one
6 stars 0 forks source link

Cast does not work on array access properly #395

Open BSteffaniak opened 2 years ago

BSteffaniak commented 2 years ago

This works,

public var BinaryNode<E> left <=> (BinaryNode<E>)(this[0])

but this...

public var BinaryNode<E> left <=> (BinaryNode<E>)this[0]

... is parsed like (BinaryNode<E>)this instead of (BinaryNode<E>)this[0]