ceylon/ceylon-compiler — Issue #403: special handling for Java Iterable
Author: gavinking
Created: 2012-02-26 20:12:11+00:00
State: open
Labels: FEATURE, high priority, interoperability

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?