salmanahmad / silo

The Silo Programming Language
0 stars 0 forks source link

Scoped Imports #35

Closed salmanahmad closed 10 years ago

salmanahmad commented 10 years ago

It would be nice to be able to scope imports and alias to a package block. So, for example:

package(silo.net.http.connection {
    import(silo.net.http)

   server.createServer(...) // Okay
})

server.createServer(...) // [server] not found because the import is no longer active.
salmanahmad commented 10 years ago

Fixed in 0360fc6401ad8661250ef4dde32b3a67c997ea1b.