eclipse-archived / ceylon

The Ceylon compiler, language module, and command line tools
http://ceylon-lang.org
Apache License 2.0
397 stars 62 forks source link

special handling for Java Iterable #403

Closed CeylonMigrationBot closed 8 years ago

CeylonMigrationBot commented 12 years ago

[@gavinking] I think we're going to need to do the following:

  1. automagically transform any occurrence of java.lang.Iterable to Ceylon Iterable in the model loader, and
  2. generate code to transform between these two types at runtime.

Otherwise you just won't be able to conveniently iterate over Java collections using for.

Thoughts?

[Migrated from ceylon/ceylon-compiler#403]

CeylonMigrationBot commented 11 years ago

[@FroMage] This also slips to M5.

CeylonMigrationBot commented 11 years ago

[@FroMage] Moving to M6

gavinking commented 8 years ago

This discussion moved to #4389 and the related #1754. Closing as a dupe.