Revert "ability to compile text and small refactoring"

This reverts commit 4ddf101397.
This commit is contained in:
Alex Tkachman
2012-02-23 17:01:33 +02:00
parent edffe8f29e
commit 4f67177aa2
8 changed files with 106 additions and 173 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.sure().get()?.add(builder)
AllModules.modules?.add(builder)
}
class SourcesBuilder(val parent: ModuleBuilder) {