Commit a74d529
* Implement attributes for `Const dict`
* Remove duplicate changes
* Improve checking for `Const` types
* Simplify type checking for `Const dict`.
* Add tests
* Update test
* Update fetching attribute name logic
Co-authored-by: Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel@users.noreply.github.com>
* Update test references
* Update fetching `dict_type`
Co-authored-by: Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel@users.noreply.github.com>
* Formatting changes
* Update test references
* Update error test references
* Tests: Update test references
* Tests: Add runtime tests and update test references
* Remove checks on the absent `Const` node
* Remove call to `get_contained_type()`
* Tests: Add tests and update references
* Style changes
* Tests: Update tests and add to CMakeLists
* Delete tests/reference/asr-test_const_dict-151acad.json
* Delete tests/reference/asr-test_const_dict-151acad.stdout
* Delete tests/reference/asr-test_const_dict-59445d7.json
* Delete tests/reference/asr-test_dict_const-69479e2.json
* Delete tests/reference/asr-test_dict_const-69479e2.stderr
* Delete tests/reference/asr-test_dict_const-69479e2.stdout
* Delete tests/reference/runtime-test_dict_const-62054df.json
* Delete tests/reference/runtime-test_dict_const-62054df.stderr
* Delete tests/reference/asr-test_const_dict-59445d7.stderr
* Tests: Update error references
* Undo formatting changes
* Remove extra newline
---------
Co-authored-by: Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel@users.noreply.github.com>
1 parent 8451ad2 commit a74d529
7 files changed
Lines changed: 59 additions & 0 deletions
File tree
- integration_tests
- src/lpython/semantics
- tests
- errors
- reference
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| 565 | + | |
565 | 566 | | |
566 | 567 | | |
567 | 568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
398 | 401 | | |
399 | 402 | | |
400 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1112 | 1116 | | |
1113 | 1117 | | |
1114 | 1118 | | |
| |||
0 commit comments