Import prefixes should have $
in them not to conflict with names.
#614
Labels
package:jni
package:jnigen
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Milestone
For example, we're importing
'package:jni' as jni
, and so we can not usejni.xyz
inside a method that is also calledjni
.Although rare, java method names can contain underscores, so we should use
$
and make sure it doesn't conflict with our type parameters (which also use$
).The text was updated successfully, but these errors were encountered: