Hi fellow haxers,
If bugs are a feature, than this is a feature:
typedef Str = String;
@:forward(charAt, charCodeAt, indexOf, lastIndexOf, split, substr, substring, toLowerCase, toString, toUpperCase)
abstract String(Str){
inline public function new (value:Str){
this = value;
}
}
It wil fail to build BUT the compiler will _not_ complain...
Greetings, Simon