mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 04:22:27 +00:00
Allow dots in import module names
We found some issues with the private submodules part of the proposal [1], and we decided to keep module directories for now. [1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit#heading=h.x84bh32l37em
This commit is contained in:
parent
b56f029a09
commit
3217e5a3f0
18 changed files with 109 additions and 52 deletions
|
@ -2972,7 +2972,7 @@ fn to_pending_value_def<'a>(
|
|||
}),
|
||||
|
||||
ModuleImport(module_import) => {
|
||||
let module_name = ModuleName::from(module_import.name.value.name);
|
||||
let module_name = ModuleName::from(module_import.name.value.name.as_str());
|
||||
let pq_module_name = QualifiedModuleName {
|
||||
opt_package: module_import.name.value.package,
|
||||
module: module_name.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue