mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix copy mistake
This commit is contained in:
parent
ca78439756
commit
80423bac76
2 changed files with 2 additions and 3 deletions
|
@ -168,7 +168,6 @@ 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