FlatLang / Flat

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

Add support for array bracket overloading ... overloading #356

Open BSteffaniak opened 7 years ago

BSteffaniak commented 7 years ago

e.g.

class ReversibleHashMap<K, V> extends HashMap<K, V> {
    HashMap<V, K> rev

    this[K key] <=> super.this[key]
    this[V value] <=> rev[value]

    ...
}