Commit 6f4275c
authored
Start work on improving subtype error messages (#7404)
* structure for improving subtype errors
* variant configuration errors
* different constructor counts
* format
* update test output
* different type kinds
* missing fn
* record fields mismatch
* more hints about what types we are looking at
* Revert "more hints about what types we are looking at"
This reverts commit 55476b9.
* refactor
* format
* cleanup
* expand comments tracking work left to do
* add comments
* changelog
* change fn name
* pr comments1 parent c8e2639 commit 6f4275c
File tree
39 files changed
+957
-133
lines changed- compiler/ml
- tests/build_tests/super_errors
- expected
- fixtures
39 files changed
+957
-133
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
74 | 85 | | |
75 | 86 | | |
76 | 87 | | |
| |||
89 | 100 | | |
90 | 101 | | |
91 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
92 | 113 | | |
93 | 114 | | |
94 | 115 | | |
| |||
0 commit comments