ceylon / ceylon-compiler

DEPRECATED
GNU General Public License v2.0
138 stars 36 forks source link

special handling for Java Iterable #403

Open gavinking opened 12 years ago

gavinking commented 12 years ago

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?

FroMage commented 11 years ago

This also slips to M5.

FroMage commented 11 years ago

Moving to M6