allow namespace-qualified references; generate nested namespaces

This commit is contained in:
Dmitry Jemerov
2011-06-16 19:04:35 +02:00
parent a05b65f1a6
commit 90c5a66362
4 changed files with 18 additions and 4 deletions
@@ -0,0 +1,7 @@
namespace Foo {
fun bar() = 610
}
fun box(): String {
return if (Foo.bar() == 610) "OK" else "fail"
}