mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Reproduce inability to parse pkg-qualified imports
This commit is contained in:
parent
5b675559a9
commit
b70f265242
2 changed files with 22 additions and 12 deletions
|
@ -177,7 +177,11 @@ pub enum ImportsEntry<'a> {
|
|||
Module(ModuleName<'a>, Vec<'a, Loc<ExposesEntry<'a, &'a str>>>),
|
||||
|
||||
/// e.g. `base.Task` or `base.Task.{ after }` or `base.{ Task.{ Task, after } }`
|
||||
Package(&'a str, Vec<'a, Loc<&'a ImportsEntry<'a>>>),
|
||||
Package(
|
||||
&'a str,
|
||||
ModuleName<'a>,
|
||||
Vec<'a, Loc<ExposesEntry<'a, &'a str>>>,
|
||||
),
|
||||
|
||||
// Spaces
|
||||
SpaceBefore(&'a ImportsEntry<'a>, &'a [CommentOrNewline<'a>]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue