Skip to content

Commit

Permalink
Closes #315... Correct function type checking in function calls, corr…
Browse files Browse the repository at this point in the history
…ect types for methods
  • Loading branch information
alexnask committed Nov 16, 2012
1 parent 3f819cf commit dc4f9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/rock/middle/FunctionCall.ooc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ FunctionCall: class extends Expression {
}

score := getScore(candidate)
if(score == -1) {
if(score < 0) {
if(debugCondition()) "** Score = -1! Aboort" println()
if(res fatal) {
// trigger a resolve on the candidate so that it'll display a more helpful error
Expand Down

0 comments on commit dc4f9db

Please sign in to comment.