mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Attach location to alias header name
This commit is contained in:
parent
11da888c07
commit
597a1cef3b
5 changed files with 18 additions and 22 deletions
|
@ -227,7 +227,7 @@ pub struct PrecedenceConflict<'a> {
|
|||
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub struct AliasHeader<'a> {
|
||||
pub name: &'a str,
|
||||
pub name: Loc<&'a str>,
|
||||
pub vars: &'a [Loc<&'a str>],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue