working Set.walk

This commit is contained in:
Folkert 2021-05-14 12:35:44 +02:00
parent d25b1dc549
commit ca78439756
8 changed files with 471 additions and 576 deletions

View file

@ -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 {