Skip to content

Commit 0f72548

Browse files
committed
Fix a few minor compile errors.
1 parent f64f91d commit 0f72548

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mustang/Loader.ooc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ TemplateLoader: class {
1818
init: func ~singlePath(searchPath: String) {
1919
paths := LinkedList<String> new()
2020
paths add(searchPath)
21-
this(paths)
21+
init(paths)
2222
}
2323
init: func ~useCwd {
24-
this(File getCwd())
24+
init(File getCwd())
2525
}
2626

2727
addPath: func(path: String) {

mustang/Value.ooc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ HashValue: class extends Value {
6464
hash: HashMap<String, Value>
6565

6666
init: func ~fromHashMap(=hash) {}
67-
init: func ~empty { this(HashMap<String, Value> new()) }
67+
init: func ~empty { init(HashMap<String, Value> new()) }
6868

6969
emit: func -> String { "Hash" }
7070

0 commit comments

Comments
 (0)