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

Configure Feed

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

Fix typos

+3 -3
+1 -1
compiler-core/src/type_/expression.rs
··· 1555 1555 location: pattern.location(), 1556 1556 }) 1557 1557 } 1558 - // A duplicate pattern warning should not happen, since there is only on pattern. 1558 + // A duplicate pattern warning should not happen, since there is only one pattern. 1559 1559 Reachability::Reachable 1560 1560 | Reachability::Unreachable(UnreachableCaseClauseReason::DuplicatePattern) => {} 1561 1561 }
+1 -1
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__assert_on_inferred_variant.snap
··· 22 22 8 │ let assert Wobble(w) = Wibble(10) 23 23 │ ^^^^^^^^^ 24 24 25 - This assertion is will always crash since it matches on a variant which is 25 + This assertion will always crash since it matches on a variant which is 26 26 never present.
+1 -1
compiler-core/src/warning.rs
··· 943 943 type_::Warning::AssertAssignmentOnInferredVariant { location } => Diagnostic { 944 944 title: "Assertion on inferred variant".into(), 945 945 text: wrap( 946 - "This assertion is will always crash since it matches on a variant which is never present.", 946 + "This assertion will always crash since it matches on a variant which is never present.", 947 947 ), 948 948 hint: None, 949 949 level: diagnostic::Level::Warning,