Skip to content

Commit

Permalink
Typos in error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
CuppoJava committed Dec 10, 2022
1 parent ffc9a17 commit 157af5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/linking-errors.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public defstruct LinkingErrors <: LinkingError :
errors:Tuple<LinkingError>
defmethod print (o:OutputStream, e:LinkingErrors) :
val error-str = "%n" % [errors(e)]
print(o, "Errors occurred during linking\n%_:" % [
print(o, "Errors occurred during linking:\n%_" % [
Indented(error-str)])

;Throw LinkingErrors if not empty.
Expand Down Expand Up @@ -48,7 +48,7 @@ public defstruct ErrorLinkingAsmfile <: LinkingError :
exefile:String
error:Exception
defmethod print (o:OutputStream, e:ErrorLinkingAsmfile) :
print(o, "Error occurred when compiling linking %~ to form executable %~.: %_" % [
print(o, "Error occurred when linking %~ to form executable %~: %_" % [
asmfile(e), exefile(e), error(e)])

;Occurs when one of the build commands for compiling an external
Expand Down

0 comments on commit 157af5f

Please sign in to comment.