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

Configure Feed

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

Clippy!

+4 -4
+3 -3
compiler-core/src/codegen.rs
··· 2 2 // SPDX-FileCopyrightText: 2020 The Gleam contributors 3 3 4 4 use crate::{ 5 - Result, 6 5 build::{ 7 - ErlangAppCodegenConfiguration, Module, module_erlang_name, package_compiler::StdlibPackage, 6 + module_erlang_name, package_compiler::StdlibPackage, ErlangAppCodegenConfiguration, Module, 8 7 }, 9 8 config::PackageConfig, 10 9 erlang, 11 10 io::FileSystemWriter, 12 11 javascript::{self, ModuleConfig}, 13 12 line_numbers::LineNumbers, 13 + Result, 14 14 }; 15 15 use ecow::EcoString; 16 16 use erlang::escape_atom_string; ··· 105 105 format!(" {{{key}, {value}}},\n") 106 106 } 107 107 108 - let path = self.output_directory.join(format!("{}.app", &config.name)); 108 + let path = self.output_directory.join(format!("{}.app", config.name)); 109 109 110 110 let start_module = match config.erlang.application_start_module.as_ref() { 111 111 None => "".into(),
+1 -1
compiler-core/src/type_/pattern.rs
··· 422 422 ) -> TypedPattern { 423 423 // Any variables from other parts of the pattern are no longer in scope. 424 424 // Only variables from the bit array pattern itself can be used. 425 - for (_, variable) in self.variables.iter_mut() { 425 + for variable in self.variables.values_mut() { 426 426 variable.scope = Scope::OtherPattern; 427 427 } 428 428