Skip to content

Commit

Permalink
Fix a few minor compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshthecoder committed Apr 11, 2010
1 parent f64f91d commit 0f72548
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mustang/Loader.ooc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ TemplateLoader: class {
init: func ~singlePath(searchPath: String) { init: func ~singlePath(searchPath: String) {
paths := LinkedList<String> new() paths := LinkedList<String> new()
paths add(searchPath) paths add(searchPath)
this(paths) init(paths)
} }
init: func ~useCwd { init: func ~useCwd {
this(File getCwd()) init(File getCwd())
} }


addPath: func(path: String) { addPath: func(path: String) {
Expand Down
2 changes: 1 addition & 1 deletion mustang/Value.ooc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ HashValue: class extends Value {
hash: HashMap<String, Value> hash: HashMap<String, Value>


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


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


Expand Down

0 comments on commit 0f72548

Please sign in to comment.