From cf133985643f4600bd1668cff0c8ed501595a4d8 Mon Sep 17 00:00:00 2001 From: Spotandjake Date: Tue, 27 Feb 2024 17:29:38 -0500 Subject: [PATCH] chore: Apply suggestions from code review --- compiler/src/utils/warnings.re | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/src/utils/warnings.re b/compiler/src/utils/warnings.re index 49dbfd4a18..de98c6c2b9 100644 --- a/compiler/src/utils/warnings.re +++ b/compiler/src/utils/warnings.re @@ -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.";