Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

Accept snapshots

+4 -37
+2 -18
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__unused_alias_for_duplicate_module_no_warning_for_alias_test.snap
··· 1 1 --- 2 2 source: compiler-core/src/type_/tests/warnings.rs 3 - expression: "\n import a/wibble\n import b/wibble as wobble\n const one = wibble.one\n " 3 + expression: "\n import a/wibble\n import b/wibble as wobble\n pub const one = wibble.one\n " 4 4 --- 5 5 ----- SOURCE CODE 6 6 -- a/wibble.gleam ··· 13 13 14 14 import a/wibble 15 15 import b/wibble as wobble 16 - const one = wibble.one 16 + pub const one = wibble.one 17 17 18 18 19 19 ----- WARNING 20 20 warning: Unused imported module 21 - ┌─ /src/warning/wrn.gleam:2:13 22 - 23 - 2 │ import a/wibble 24 - │ ^^^^^^^^^^^^^^^ This imported module is never used 25 - 26 - Hint: You can safely remove it. 27 - 28 - warning: Unused imported module 29 21 ┌─ /src/warning/wrn.gleam:3:13 30 22 31 23 3 │ import b/wibble as wobble 32 24 │ ^^^^^^^^^^^^^^^^^^^^^^^^^ This imported module is never used 33 25 34 26 Hint: You can safely remove it. 35 - 36 - warning: Unused private constant 37 - ┌─ /src/warning/wrn.gleam:4:13 38 - 39 - 4 │ const one = wibble.one 40 - │ ^^^^^^^^^ This private constant is never used 41 - 42 - Hint: You can safely remove it.
+2 -19
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__unused_alias_warning_test.snap
··· 1 1 --- 2 2 source: compiler-core/src/type_/tests/warnings.rs 3 - expression: "\n import gleam/wibble.{one} as wobble\n const one = one\n " 3 + expression: "\n import gleam/wibble.{one} as wobble\n pub const one = one\n " 4 4 --- 5 5 ----- SOURCE CODE 6 6 -- gleam/wibble.gleam ··· 9 9 -- main.gleam 10 10 11 11 import gleam/wibble.{one} as wobble 12 - const one = one 12 + pub const one = one 13 13 14 14 15 15 ----- WARNING 16 - warning: Unused imported value 17 - ┌─ /src/warning/wrn.gleam:2:34 18 - 19 - 2 │ import gleam/wibble.{one} as wobble 20 - │ ^^^ This imported value is never used 21 - 22 - Hint: You can safely remove it. 23 - 24 16 warning: Unused imported module alias 25 17 ┌─ /src/warning/wrn.gleam:2:39 26 18 ··· 30 22 Hint: You can safely remove it. 31 23 32 24 import gleam/wibble as _ 33 - 34 - 35 - warning: Unused private constant 36 - ┌─ /src/warning/wrn.gleam:3:13 37 - 38 - 3 │ const one = one 39 - │ ^^^^^^^^^ This private constant is never used 40 - 41 - Hint: You can safely remove it.