ability to compile text and small refactoring

This commit is contained in:
Alex Tkachman
2012-02-23 14:12:03 +02:00
parent 99a13a500c
commit 4ddf101397
8 changed files with 173 additions and 106 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import jet.modules.*
fun module(name: String, callback: ModuleBuilder.() -> Unit) {
val builder = ModuleBuilder(name)
builder.callback()
AllModules.modules?.add(builder)
AllModules.modules.sure().get()?.add(builder)
}
class SourcesBuilder(val parent: ModuleBuilder) {