This commit is contained in:
Folkert 2021-08-20 23:43:38 +02:00
parent 82a4b31c08
commit f35a20bc16
2 changed files with 2 additions and 3 deletions

View file

@ -4733,6 +4733,7 @@ pub fn from_can<'a>(
CapturedSymbols::None
}
Err(_) => {
// just allow this. see https://github.com/rtfeldman/roc/issues/1585
if captured_symbols.is_empty() {
CapturedSymbols::None
} else {