infra for exposed_generic in the dev backend

This commit is contained in:
Folkert 2023-04-30 01:20:58 +02:00
parent 1aeeaed9b7
commit f9f4d5eb49
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 168 additions and 25 deletions

View file

@ -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> {