implement mono / lowering for tuples

This commit is contained in:
Joshua Warner 2023-01-24 20:23:17 -08:00
parent 65f8bb3d0d
commit 5a6be05ead
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
42 changed files with 1773 additions and 290 deletions

View file

@ -22,7 +22,7 @@ Defs(
@4-20 Function(
[
@4-10 Tuple {
fields: [
elems: [
@5-8 Apply(
"",
"Str",
@ -37,7 +37,7 @@ Defs(
},
],
@14-20 Tuple {
fields: [
elems: [
@15-18 Apply(
"",
"Str",
@ -59,7 +59,7 @@ Defs(
ann_type: @4-20 Function(
[
@4-10 Tuple {
fields: [
elems: [
@5-8 Apply(
"",
"Str",
@ -74,7 +74,7 @@ Defs(
},
],
@14-20 Tuple {
fields: [
elems: [
@15-18 Apply(
"",
"Str",

View file

@ -28,7 +28,7 @@ Defs(
),
],
@11-21 Tuple {
fields: [
elems: [
@12-15 Apply(
"",
"I64",
@ -57,7 +57,7 @@ Defs(
),
],
@11-21 Tuple {
fields: [
elems: [
@12-15 Apply(
"",
"I64",

View file

@ -1,6 +1,8 @@
Apply(
@0-2 TupleAccessorFunction(
"1",
@0-2 AccessorFunction(
TupleIndex(
"1",
),
),
[
@3-12 Tuple(

View file

@ -22,7 +22,7 @@ Defs(
@3-27 Function(
[
@3-13 Tuple {
fields: [
elems: [
@4-7 Apply(
"",
"Str",
@ -38,7 +38,7 @@ Defs(
},
],
@17-27 Tuple {
fields: [
elems: [
@18-21 Apply(
"",
"Str",
@ -61,7 +61,7 @@ Defs(
ann_type: @3-27 Function(
[
@3-13 Tuple {
fields: [
elems: [
@4-7 Apply(
"",
"Str",
@ -77,7 +77,7 @@ Defs(
},
],
@17-27 Tuple {
fields: [
elems: [
@18-21 Apply(
"",
"Str",

View file

@ -22,7 +22,7 @@ Defs(
@3-29 Function(
[
@3-14 Tuple {
fields: [
elems: [
@4-7 Apply(
"",
"Str",
@ -42,7 +42,7 @@ Defs(
},
],
@18-29 Tuple {
fields: [
elems: [
@19-22 Apply(
"",
"Str",
@ -69,7 +69,7 @@ Defs(
ann_type: @3-29 Function(
[
@3-14 Tuple {
fields: [
elems: [
@4-7 Apply(
"",
"Str",
@ -89,7 +89,7 @@ Defs(
},
],
@18-29 Tuple {
fields: [
elems: [
@19-22 Apply(
"",
"Str",