Skip to content

Commit

Permalink
update function analysis snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianSpyrzewski committed Jan 20, 2025
1 parent 51c9ac2 commit 302b980
Show file tree
Hide file tree
Showing 42 changed files with 2,441 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10650,6 +10650,7 @@
"useType": "UNUSED"
}
],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1997,6 +1997,7 @@
"useType": "READ_WRITE"
}
],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down Expand Up @@ -2830,6 +2831,38 @@
"useType": "READ"
}
],
"arguments": [
{
"__class__": "FunctionArgument",
"type": {
"__class__": "Basic",
"identifier": "Int",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 12
},
"second": {
"__class__": "Location",
"value": 14
}
}
},
"identifier": "x",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 9
},
"second": {
"__class__": "Location",
"value": 14
}
}
}
],
"auxVariables": [],
"staticDepth": 1,
"variablesUsedInNestedFunctions": []
Expand Down
1 change: 1 addition & 0 deletions __snapshot__/correct/assignment.cac.analysis.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,7 @@
"useType": "READ"
}
],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down
1 change: 1 addition & 0 deletions __snapshot__/correct/blocks_easy.cac.analysis.snap
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
}
},
"variables": [],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down
1 change: 1 addition & 0 deletions __snapshot__/correct/blocks_hard.cac.analysis.snap
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@
}
},
"variables": [],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down
1 change: 1 addition & 0 deletions __snapshot__/correct/comments.cac.analysis.snap
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
}
},
"variables": [],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down
63 changes: 63 additions & 0 deletions __snapshot__/correct/complex-expressions.cac.analysis.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2579,6 +2579,7 @@
"useType": "READ_WRITE"
}
],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down Expand Up @@ -3955,6 +3956,68 @@
"useType": "READ"
}
],
"arguments": [
{
"__class__": "FunctionArgument",
"type": {
"__class__": "Basic",
"identifier": "Int",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 12
},
"second": {
"__class__": "Location",
"value": 14
}
}
},
"identifier": "x",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 9
},
"second": {
"__class__": "Location",
"value": 14
}
}
},
{
"__class__": "FunctionArgument",
"type": {
"__class__": "Basic",
"identifier": "Int",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 20
},
"second": {
"__class__": "Location",
"value": 22
}
}
},
"identifier": "z",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 17
},
"second": {
"__class__": "Location",
"value": 22
}
}
}
],
"auxVariables": [],
"staticDepth": 1,
"variablesUsedInNestedFunctions": []
Expand Down
65 changes: 65 additions & 0 deletions __snapshot__/correct/cursed.cac.analysis.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9820,6 +9820,7 @@
"useType": "UNUSED"
}
],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down Expand Up @@ -11143,6 +11144,38 @@
"used": false
},
"variables": [],
"arguments": [
{
"__class__": "FunctionArgument",
"type": {
"__class__": "Basic",
"identifier": "Unit",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 260
},
"second": {
"__class__": "Location",
"value": 263
}
}
},
"identifier": "x",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 257
},
"second": {
"__class__": "Location",
"value": 263
}
}
}
],
"auxVariables": [],
"staticDepth": 1,
"variablesUsedInNestedFunctions": []
Expand Down Expand Up @@ -12451,6 +12484,38 @@
"used": false
},
"variables": [],
"arguments": [
{
"__class__": "FunctionArgument",
"type": {
"__class__": "Basic",
"identifier": "Unit",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 299
},
"second": {
"__class__": "Location",
"value": 302
}
}
},
"identifier": "x",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 296
},
"second": {
"__class__": "Location",
"value": 302
}
}
}
],
"auxVariables": [],
"staticDepth": 1,
"variablesUsedInNestedFunctions": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@
"useType": "READ_WRITE"
}
],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3215,6 +3215,7 @@
"useType": "READ_WRITE"
}
],
"arguments": [],
"auxVariables": [],
"staticDepth": 0,
"variablesUsedInNestedFunctions": []
Expand Down Expand Up @@ -4803,6 +4804,68 @@
"useType": "READ"
}
],
"arguments": [
{
"__class__": "FunctionArgument",
"type": {
"__class__": "Basic",
"identifier": "Int",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 12
},
"second": {
"__class__": "Location",
"value": 14
}
}
},
"identifier": "x",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 9
},
"second": {
"__class__": "Location",
"value": 14
}
}
},
{
"__class__": "FunctionArgument",
"type": {
"__class__": "Basic",
"identifier": "Int",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 20
},
"second": {
"__class__": "Location",
"value": 22
}
}
},
"identifier": "z",
"range": {
"__class__": "Pair",
"first": {
"__class__": "Location",
"value": 17
},
"second": {
"__class__": "Location",
"value": 22
}
}
}
],
"auxVariables": [],
"staticDepth": 1,
"variablesUsedInNestedFunctions": []
Expand Down
Loading

0 comments on commit 302b980

Please sign in to comment.