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

Configure Feed

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

Slightly more descriptive name

+2 -2
+1 -1
compiler-core/src/exhaustiveness/printer.rs
··· 64 64 let is_defined_in_current_module = *module == self.current_module; 65 65 let is_internal = variable 66 66 .type_ 67 - .publicity() 67 + .named_type_publicity() 68 68 .unwrap_or(Publicity::Public) 69 69 .is_internal(); 70 70
+1 -1
compiler-core/src/type_.rs
··· 531 531 532 532 /// If the type is named, return its publicity. 533 533 /// 534 - pub fn publicity(&self) -> Option<Publicity> { 534 + pub fn named_type_publicity(&self) -> Option<Publicity> { 535 535 match self { 536 536 Type::Named { publicity, .. } => Some(*publicity), 537 537 Type::Fn { .. } | Type::Var { .. } | Type::Tuple { .. } => None,