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

Configure Feed

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

Add language test

+8 -2
-2
compiler-core/src/javascript/tests/snapshots/gleam_core__javascript__tests__bit_arrays__multiple_variable_size_segments.snap.new compiler-core/src/javascript/tests/snapshots/gleam_core__javascript__tests__bit_arrays__multiple_variable_size_segments.snap
··· 1 1 --- 2 2 source: compiler-core/src/javascript/tests/bit_arrays.rs 3 - assertion_line: 2533 4 3 expression: "\npub fn main() {\n let assert <<a, b:size(a), c:size(b)>> = <<1, 2, 3, 4>>\n a + b + c\n}\n" 5 - snapshot_kind: text 6 4 --- 7 5 ----- SOURCE CODE 8 6
+8
test/language/test/language_test.gleam
··· 2206 2206 i 2207 2207 }) 2208 2208 }), 2209 + // https://github.com/gleam-lang/gleam/issues/4712 2210 + "Multiple variable segments" 2211 + |> example(fn() { 2212 + assert_equal(12, { 2213 + let assert <<a, b:size(a), c:size(b)>> = <<2, 3:2, 7:3>> 2214 + a + b + c 2215 + }) 2216 + }), 2209 2217 ] 2210 2218 } 2211 2219