scala/scala — pull request #1700 by retronym (2012-12-04 09:11:06+00:00)
Title: SI-6535 Step back from the precipice of a cycle

Adding any non-local parent to WrapAsScala will trigger a valid
cyclic reference error. By moving the import of `Wrapper._`
inside `WrapAsScala` and `WrapAsJava`, it is not in scope when
typing the parents of those, and we avoid the cycle.

Adds a test case to show the essense of the promiscious mutual
imports that triggers this.

Review by @paulp