Skip to content

Commit a1f3744

Browse files
authored
Merge pull request #3152 from dotty-staging/remove-old-comments
Remove useless outdated comments
2 parents 2a72ffb + 63c4d2e commit a1f3744

36 files changed

+0
-198
lines changed

tests/neg/phantom-evidence.scala

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
/* This is a example of how to implement =:= using erasable phantom types.
2-
*
3-
* Run this test with
4-
* `run tests/neg/phantomEvidence-1.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
5-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
6-
*
7-
* See also: ../pos/phantomEvidence-1.scala
8-
*/
9-
10-
111
/** In this implementation variant of =:= (called =::=) we erase all instantiations and definitions of =::= */
122
object WithNormalState extends Phantom {
133

tests/pos/phantom-Eq.scala

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
2-
/* This is a example of how to implement Eq using erasable phantom types.
3-
*
4-
* Run this test with
5-
* `run tests/pos/phantomEq.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
6-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
7-
*
8-
* See also: ../neg/phantomEq.scala
9-
*/
10-
111
object PhantomEq {
122
import EqUtil._
133

tests/pos/phantom-Evidence.scala

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
2-
/* This is a example of how to implement =:= using erasable phantom types.
3-
*
4-
* Run this test with
5-
* `run tests/pos/phantomEvidence-1.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
6-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
7-
*
8-
* See also: ../neg/phantomEvidence-1.scala
9-
*/
10-
111
/** In this implementation variant of =:= (called =::=) we erase all instantiations and definitions of =::= */
122
object WithNormalState {
133
import Utils._

tests/run/phantom-1.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
2-
/* Run this test with
3-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
4-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
5-
*/
6-
71
object Test {
82
import Boo._
93

tests/run/phantom-2.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
51
object Test {
62
import Boo._
73

tests/run/phantom-3.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-4.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-5.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-OnHList.scala

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
2-
/* Run this test with
3-
* `run tests/run/phantomOnHList.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
4-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
5-
*
6-
* Disclaimer: This is only a prototype of HList that uses phantom evidences for the append operation
7-
*/
81
object Test {
92

103

tests/run/phantom-decls-1.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-decls-2.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-decls-3.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-decls-4.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-decls-5.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-erased-methods.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import dotty.runtime.ErasedPhantom
22

3-
/* Run this test with
4-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
5-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
6-
*/
7-
83
object Test {
94
import Boo._
105

tests/run/phantom-hk-1.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
51

62
object Test {
73
import Boo._

tests/run/phantom-hk-2.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-lazy-val.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
2-
/* Run this test with
3-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
4-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
5-
*/
6-
71
object Test {
82
import Boo._
93

tests/run/phantom-methods-1.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-10.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-11.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-12.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-13.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-2.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-3.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-4.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-5.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-6.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-7.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-8.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-methods-9.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-poly-1.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-poly-2.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-poly-3.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-poly-4.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Run this test with
2-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
3-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
4-
*/
5-
61
object Test {
72
import Boo._
83

tests/run/phantom-val.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
2-
/* Run this test with
3-
* `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure`
4-
* to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure.
5-
*/
6-
71
object Test {
82
import Boo._
93

0 commit comments

Comments
 (0)