aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Janiczek <martin.janiczek@vendr.com>2024-12-19 19:20:15 +0100
committerLouis Pilfold <louis@lpil.uk>2024-12-20 13:48:20 +0000
commit1a8cc098734c06f4df23eb703cbebaa978e9931f (patch)
tree13e7fdb53e45bcb2cb5bb308e8f519619929141d
parent999d0805fa10df85ed84b2285714f65691ae33dd (diff)
downloadgleam_stdlib-1a8cc098734c06f4df23eb703cbebaa978e9931f.tar.gz
gleam_stdlib-1a8cc098734c06f4df23eb703cbebaa978e9931f.zip
Update the note
-rw-r--r--src/gleam/io.gleam4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gleam/io.gleam b/src/gleam/io.gleam
index d55599b..ec73ece 100644
--- a/src/gleam/io.gleam
+++ b/src/gleam/io.gleam
@@ -89,7 +89,9 @@ pub fn println_error(string: String) -> Nil
/// // [2, 3]
/// ```
///
-/// Note: At runtime Gleam doesn't have type information and uses runtime reflection to print the values. This can result in some values being shown in an unexpected way.
+/// Note: At runtime Gleam doesn't have type information anymore. This combined
+/// with some types having the same runtime representation results in it not
+/// always being possible to correctly choose which Gleam syntax to show.
///
pub fn debug(term: anything) -> anything {
term