mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
working Set.walk
This commit is contained in:
parent
d25b1dc549
commit
ca78439756
8 changed files with 471 additions and 576 deletions
|
@ -168,6 +168,7 @@ impl<'a> LambdaSet<'a> {
|
|||
) -> Layout<'a> {
|
||||
if let [] = self.set {
|
||||
// TERRIBLE HACK for builting functions
|
||||
panic!();
|
||||
Layout::FunctionPointer(argument_layouts, ret_layout)
|
||||
} else {
|
||||
match self.representation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue