alpha
Login
or
Join now
nandi.uk
/
gleam
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Fork of daniellemaywood.uk/gleam — Wasm codegen work
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Slightly more descriptive name
author
Louis Pilfold
date
4 months ago
(Mar 4, 2026, 5:43 PM UTC)
commit
6c2cfe2a
6c2cfe2a12a7ae44bbeea871b6fe4b931d350be6
parent
317c2b47
317c2b47e260f911bfb129a41577b65482307ad2
+2
-2
2 changed files
Expand all
Collapse all
Unified
Split
compiler-core
src
exhaustiveness
printer.rs
type_.rs
+1
-1
compiler-core/src/exhaustiveness/printer.rs
View file
Reviewed
···
64
64
let is_defined_in_current_module = *module == self.current_module;
65
65
let is_internal = variable
66
66
.type_
67
67
-
.publicity()
67
67
+
.named_type_publicity()
68
68
.unwrap_or(Publicity::Public)
69
69
.is_internal();
70
70
+1
-1
compiler-core/src/type_.rs
View file
Reviewed
···
531
531
532
532
/// If the type is named, return its publicity.
533
533
///
534
534
-
pub fn publicity(&self) -> Option<Publicity> {
534
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,