Skip to content

Commit

Permalink
fix: enable compilation with -skip-unused (workaround the interface…
Browse files Browse the repository at this point in the history
… bug in v.markused)
  • Loading branch information
spytheman committed Nov 18, 2024
1 parent bb0a1bd commit bbba20d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analyzer/psi/types/BaseType.v
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub:
module_name string
}

@[markused]
pub fn (s &BaseType) module_name() string {
return s.module_name
}

0 comments on commit bbba20d

Please sign in to comment.