dotlin-org/dotlin

Raise error if extension member shadows class member

Closed this issue · 0 comments

Example code that should raise an error:

fun Double.isNaN(): Boolean = this != this

double.isNan already exists in Dart, thus this code should raise an error.