Fix some constraint gen

This commit is contained in:
Richard Feldman 2020-06-21 16:46:44 -04:00
parent 32b9b1ea60
commit 56c637e399
6 changed files with 93 additions and 70 deletions

View file

@ -48,7 +48,7 @@ impl<'a> Layout<'a> {
) -> Result<Self, ()> {
use roc_types::subs::Content::*;
match dbg!(content) {
match content {
var @ FlexVar(_) | var @ RigidVar(_) => {
panic!("Layout::new encountered an unresolved {:?}", var);
}