mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 12:32:29 +00:00
Update to use new square brace formatting
This commit is contained in:
parent
0fae5b0bac
commit
4eec34becf
120 changed files with 1149 additions and 1155 deletions
|
@ -401,7 +401,7 @@ impl<'a> CodeGenHelp<'a> {
|
|||
|
||||
// When creating or looking up Specializations, we need to replace RecursivePointer
|
||||
// with the particular Union layout it represents at this point in the tree.
|
||||
// For example if a program uses `RoseTree a : [ Tree a (List (RoseTree a)) ]`
|
||||
// For example if a program uses `RoseTree a : [Tree a (List (RoseTree a))]`
|
||||
// then it could have both `RoseTree I64` and `RoseTree Str`. In this case it
|
||||
// needs *two* specializations for `List(RecursivePointer)`, not just one.
|
||||
fn replace_rec_ptr(&self, ctx: &Context<'a>, layout: Layout<'a>) -> Layout<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue