Skip to content

Commit

Permalink
chore: Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake committed Feb 27, 2024
1 parent 8fee35a commit cf13398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/src/utils/warnings.re
Expand Up @@ -163,11 +163,11 @@ let message =
)
| UselessRecordSpread => "this record spread is useless as all of the record's fields are overridden."
| PrintUnsafe(typ) =>
"it looks like you are using print on an unsafe Wasm value here.\nThis is generally unsafe and will cause errors. Use DebugPrint.print"
"it looks like you are using `print` on an unsafe Wasm value here.\nThis is generally unsafe and will cause errors. Use `DebugPrint.print`"
++ typ
++ " from the `runtime/debugPrint` module instead."
| ToStringUnsafe(typ) =>
"it looks like you are using toString on an unsafe Wasm value here.\nThis is generally unsafe and will cause errors. Use DebugPrint.toString"
"it looks like you are using `toString` on an unsafe Wasm value here.\nThis is generally unsafe and will cause errors. Use `DebugPrint.toString`"
++ typ
++ " from the `runtime/debugPrint` module instead.";

Expand Down

0 comments on commit cf13398

Please sign in to comment.