Skip to content

Commit

Permalink
Remove extraneous printlns
Browse files Browse the repository at this point in the history
  • Loading branch information
kengorab committed Nov 2, 2024
1 parent cb2a057 commit 28854d5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions projects/compiler/src/compiler.abra
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ type CompilationError {
Ok(v) => v
Err => return "Could not read file '${self.modulePath}'"
}
println("[getMessage]", self.error.position)
self.error.getMessage(self.modulePath, contents)
}
}
Expand All @@ -27,11 +26,9 @@ type CompileError {

match self.kind {
CompileErrorKind.NotYetImplemented(reason) => {
println("hereee")
println(reason.length)
lines.push("Not yet implemented:")
// lines.push(self._getCursorLine(self.position, contents))
// lines.push("Reason: $reason")
lines.push(self._getCursorLine(self.position, contents))
lines.push("Reason: $reason")
}
CompileErrorKind.Unreachable(message) => {
lines.push("Unreachable code reached")
Expand Down

0 comments on commit 28854d5

Please sign in to comment.