Skip to content

Commit 3db8041

Browse files
authored
Merge pull request #3079 from dotty-staging/revert-phantom-casts
Revert phantom casts
2 parents c071dcf + 93aa17d commit 3db8041

File tree

4 files changed

+0
-132
lines changed

4 files changed

+0
-132
lines changed

compiler/src/dotty/tools/dotc/Compiler.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class Compiler {
5151
new CheckReentrant, // Internal use only: Check that compiled program has no data races involving global vars
5252
new ElimJavaPackages), // Eliminate syntactic references to Java packages
5353
List(new CheckStatic, // Check restrictions that apply to @static members
54-
new CheckPhantomCast, // Checks that no Phantom types in are in casts
5554
new ElimRepeated, // Rewrite vararg parameters and arguments
5655
new RefChecks, // Various checks mostly related to abstract members and overriding
5756
new NormalizeFlags, // Rewrite some definition flags

compiler/src/dotty/tools/dotc/transform/CheckPhantomCast.scala

Lines changed: 0 additions & 50 deletions
This file was deleted.

tests/neg/phantom-class-type-members.scala

Lines changed: 0 additions & 47 deletions
This file was deleted.

tests/neg/phantom-class-type-parameters.scala

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)