mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Improve debug output
This commit is contained in:
parent
9faf47e5cd
commit
46c43da1de
2 changed files with 4 additions and 2 deletions
|
@ -59,6 +59,8 @@ impl<'a> Layout<'a> {
|
|||
) -> Result<Self, LayoutProblem> {
|
||||
use roc_types::subs::Content::*;
|
||||
|
||||
eprint!("content: ");
|
||||
|
||||
match content.dbg(subs) {
|
||||
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