aboutsummaryrefslogtreecommitdiff
path: root/tests/run
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-03-05 19:21:28 +0900
committerGuillaume Martres <smarter@ubuntu.com>2017-03-07 14:06:42 +0100
commitb2f30edc13a3af7fdfec6812b61fce8ca83cde91 (patch)
treea151c52af6cbc1739074dce1487b7b0efc2369ac /tests/run
parentc90ea6b62de5d70f8855b377688f62c40dfe3a66 (diff)
downloaddotty-b2f30edc13a3af7fdfec6812b61fce8ca83cde91.tar.gz
dotty-b2f30edc13a3af7fdfec6812b61fce8ca83cde91.tar.bz2
dotty-b2f30edc13a3af7fdfec6812b61fce8ca83cde91.zip
Fix incremental overcompilation due to instabilities
The output of ExtractAPI should be stable, otherwise sbt might incorrectly conclude that some API changed because its hash is different, even though the source hasn't changed. This commit fixes two cases where this might happen: - package prefixes in NamedTypes are unstable, we already worked around this by normalizing them, but only for classes, we now always do it. - We use a simplified representation for `_ >: Nothing <: Any`, this is now checked using `isDirectRef` instead of referential equality on types since there is more than one way to represent `Nothing` and `Any`. Both of these issues were found while compiling dotty with `dotty-compiler-bootstrapped/compile` and making small changes.
Diffstat (limited to 'tests/run')
0 files changed, 0 insertions, 0 deletions