mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
infra for exposed_generic in the dev backend
This commit is contained in:
parent
1aeeaed9b7
commit
f9f4d5eb49
3 changed files with 168 additions and 25 deletions
|
@ -4410,6 +4410,11 @@ impl LayoutId {
|
|||
let ident_string = symbol.as_str(interns);
|
||||
format!("roc__{}_{}_exposed", ident_string, self.0)
|
||||
}
|
||||
|
||||
pub fn to_exposed_generic_symbol_string(self, symbol: Symbol, interns: &Interns) -> String {
|
||||
let ident_string = symbol.as_str(interns);
|
||||
format!("roc__{}_{}_exposed_generic", ident_string, self.0)
|
||||
}
|
||||
}
|
||||
|
||||
struct IdsByLayout<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue