mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Fix some tests and docs
This commit is contained in:
parent
22cc618436
commit
55045e1cea
7 changed files with 302 additions and 50 deletions
|
@ -58,9 +58,7 @@ impl<'a> Layout<'a> {
|
|||
) -> Result<Self, LayoutProblem> {
|
||||
use roc_types::subs::Content::*;
|
||||
|
||||
eprint!("content: ");
|
||||
|
||||
match content.dbg(subs) {
|
||||
match content {
|
||||
FlexVar(_) | RigidVar(_) => Err(LayoutProblem::UnresolvedTypeVar),
|
||||
Structure(flat_type) => layout_from_flat_type(arena, flat_type, subs, pointer_size),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue