Commit 6c019bc
committed
Tighten requirements for migration mode
We now issue a migration warning only if the source version is migrating and
exactly one before the current source. Previously, a migration warning intended
for 3.0-migration would also have been issued for future-migration.
Also, fix error message for viewbounds.1 parent 98e3839 commit 6c019bc
File tree
3 files changed
+7
-2
lines changed- compiler/src/dotty/tools/dotc
- parsing
- tests/neg
3 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1824 | 1824 | | |
1825 | 1825 | | |
1826 | 1826 | | |
1827 | | - | |
| 1827 | + | |
1828 | 1828 | | |
1829 | 1829 | | |
1830 | 1830 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments