mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
fix 1 segfault
This commit is contained in:
parent
0f59ec41f4
commit
cd3eb27e32
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ pub fn findIdent(self: *const Self, text: []const u8) ?Ident.Idx {
|
|||
|
||||
/// Retrieves the text of an identifier by its index.
|
||||
pub fn getIdent(self: *const Self, idx: Ident.Idx) []const u8 {
|
||||
return self.getIdent(idx);
|
||||
return self.idents.getText(idx);
|
||||
}
|
||||
|
||||
/// Returns a const reference to the identifier store.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue