golo-lang/golo-lang — pull request #122 by jponge (2014-01-29 21:39:15+00:00)
Title: Allow lax imports

Lax imports widen the range of valid imports in Golo, as in:

import java.util
function foo = -> Arrays.asList(1, 2, 3)

or,

import java
function foo = -> util.Arrays.asList(1, 2, 3)

Previously, one would have had to use either of the following constructs:

import java.util.Arrays
function foo = -> Arrays.asList(1, 2, 3)

or,

import java.util.Arrays
function foo = -> asList(1, 2, 3)