mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Merge remote-tracking branch 'origin/main' into inspect-builtin
This commit is contained in:
commit
15a6bc34f4
183 changed files with 1793 additions and 1694 deletions
|
@ -2870,7 +2870,7 @@ fn update<'a>(
|
|||
// # Default module
|
||||
// interface Default exposes [default, getDefault]
|
||||
//
|
||||
// Default has default : {} -> a | a has Default
|
||||
// Default implements default : {} -> a where a implements Default
|
||||
//
|
||||
// getDefault = \{} -> default {}
|
||||
//
|
||||
|
@ -4287,7 +4287,7 @@ fn build_header<'a>(
|
|||
// created an IdentId for this, when it was imported exposed
|
||||
// in a dependent module.
|
||||
//
|
||||
// For example, if module A has [B.{ foo }], then
|
||||
// For example, if module A implements [B.{ foo }], then
|
||||
// when we get here for B, `foo` will already have
|
||||
// an IdentId. We must reuse that!
|
||||
let ident_id = ident_ids.get_or_insert(loc_exposed.value.as_str());
|
||||
|
@ -4311,7 +4311,7 @@ fn build_header<'a>(
|
|||
// created an IdentId for this, when it was imported exposed
|
||||
// in a dependent module.
|
||||
//
|
||||
// For example, if module A has [B.{ foo }], then
|
||||
// For example, if module A implements [B.{ foo }], then
|
||||
// when we get here for B, `foo` will already have
|
||||
// an IdentId. We must reuse that!
|
||||
let ident_id = ident_ids.get_or_insert(loc_name.value.as_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue