mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Deal with recursive pointers that pass through non-recursive layouts
This commit is contained in:
parent
92dfccedff
commit
02d5cd7885
6 changed files with 203 additions and 105 deletions
|
@ -1283,6 +1283,23 @@ fn issue_2583_specialize_errors_behind_unified_branches() {
|
|||
)
|
||||
}
|
||||
|
||||
#[mono_test]
|
||||
fn issue_2810() {
|
||||
indoc!(
|
||||
r#"
|
||||
Command : [ Command Tool ]
|
||||
|
||||
Job : [ Job Command ]
|
||||
|
||||
Tool : [ SystemTool, FromJob Job ]
|
||||
|
||||
a : Job
|
||||
a = Job (Command (FromJob (Job (Command SystemTool))))
|
||||
a
|
||||
"#
|
||||
)
|
||||
}
|
||||
|
||||
#[mono_test]
|
||||
fn issue_2811() {
|
||||
indoc!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue