Skip to content

Instantly share code, notes, and snippets.

@Atry
Created April 16, 2013 06:42
Show Gist options
  • Save Atry/5393858 to your computer and use it in GitHub Desktop.
Save Atry/5393858 to your computer and use it in GitHub Desktop.
class ExplicitCommonType
{
public static function main()
{
// ExplicitCommonType.hx:6: characters 71-89 : IntHash<Int> should be Hash<Int>
var iterable:Iterable<Int> = Math.random() < 0.5 ? new Hash<Int>() : new IntHash<Int>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment