Commit a4ac534
committed
Define
Define `assert` in `scala.Predef` instead `scala.runtime.stdLibPatches.Predef`.
We assume that all patches to `scala.Predef` are inline methods, therefore
if we see an inline method in `scala.Predef` we do not patch it with the
method in `scala.runtime.stdLibPatches.Predef`.Predef.assert overwrite directly in Scala 2 library TASTy1 parent 4de067c commit a4ac534
File tree
3 files changed
+7
-4
lines changed- compiler/src/dotty/tools/dotc/core
- project
- scala2-library-bootstrapped/src/scala
3 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
1440 | | - | |
| 1440 | + | |
1441 | 1441 | | |
1442 | 1442 | | |
1443 | 1443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
279 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
0 commit comments