From 63c4d2e5534dbbfc68d6771593e8522efa4131bf Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 21 Sep 2017 15:53:02 +0200 Subject: [PATCH] Remove useless outdated comments --- tests/neg/phantom-evidence.scala | 10 ---------- tests/pos/phantom-Eq.scala | 10 ---------- tests/pos/phantom-Evidence.scala | 10 ---------- tests/run/phantom-1.scala | 6 ------ tests/run/phantom-2.scala | 4 ---- tests/run/phantom-3.scala | 5 ----- tests/run/phantom-4.scala | 5 ----- tests/run/phantom-5.scala | 5 ----- tests/run/phantom-OnHList.scala | 7 ------- tests/run/phantom-decls-1.scala | 5 ----- tests/run/phantom-decls-2.scala | 5 ----- tests/run/phantom-decls-3.scala | 5 ----- tests/run/phantom-decls-4.scala | 5 ----- tests/run/phantom-decls-5.scala | 5 ----- tests/run/phantom-erased-methods.scala | 5 ----- tests/run/phantom-hk-1.scala | 4 ---- tests/run/phantom-hk-2.scala | 5 ----- tests/run/phantom-lazy-val.scala | 6 ------ tests/run/phantom-methods-1.scala | 5 ----- tests/run/phantom-methods-10.scala | 5 ----- tests/run/phantom-methods-11.scala | 5 ----- tests/run/phantom-methods-12.scala | 5 ----- tests/run/phantom-methods-13.scala | 5 ----- tests/run/phantom-methods-2.scala | 5 ----- tests/run/phantom-methods-3.scala | 5 ----- tests/run/phantom-methods-4.scala | 5 ----- tests/run/phantom-methods-5.scala | 5 ----- tests/run/phantom-methods-6.scala | 5 ----- tests/run/phantom-methods-7.scala | 5 ----- tests/run/phantom-methods-8.scala | 5 ----- tests/run/phantom-methods-9.scala | 5 ----- tests/run/phantom-poly-1.scala | 5 ----- tests/run/phantom-poly-2.scala | 5 ----- tests/run/phantom-poly-3.scala | 5 ----- tests/run/phantom-poly-4.scala | 5 ----- tests/run/phantom-val.scala | 6 ------ 36 files changed, 198 deletions(-) diff --git a/tests/neg/phantom-evidence.scala b/tests/neg/phantom-evidence.scala index 1ba0477bc2d4..aae2972a70ff 100644 --- a/tests/neg/phantom-evidence.scala +++ b/tests/neg/phantom-evidence.scala @@ -1,13 +1,3 @@ -/* This is a example of how to implement =:= using erasable phantom types. - * - * Run this test with - * `run tests/neg/phantomEvidence-1.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - * - * See also: ../pos/phantomEvidence-1.scala - */ - - /** In this implementation variant of =:= (called =::=) we erase all instantiations and definitions of =::= */ object WithNormalState extends Phantom { diff --git a/tests/pos/phantom-Eq.scala b/tests/pos/phantom-Eq.scala index dcb8e213b912..6ed38a4ff05e 100644 --- a/tests/pos/phantom-Eq.scala +++ b/tests/pos/phantom-Eq.scala @@ -1,13 +1,3 @@ - -/* This is a example of how to implement Eq using erasable phantom types. - * - * Run this test with - * `run tests/pos/phantomEq.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - * - * See also: ../neg/phantomEq.scala - */ - object PhantomEq { import EqUtil._ diff --git a/tests/pos/phantom-Evidence.scala b/tests/pos/phantom-Evidence.scala index 0e096177a115..dd84f2c08383 100644 --- a/tests/pos/phantom-Evidence.scala +++ b/tests/pos/phantom-Evidence.scala @@ -1,13 +1,3 @@ - -/* This is a example of how to implement =:= using erasable phantom types. - * - * Run this test with - * `run tests/pos/phantomEvidence-1.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - * - * See also: ../neg/phantomEvidence-1.scala - */ - /** In this implementation variant of =:= (called =::=) we erase all instantiations and definitions of =::= */ object WithNormalState { import Utils._ diff --git a/tests/run/phantom-1.scala b/tests/run/phantom-1.scala index 38cdfaaf2236..7c5a5ecb6929 100644 --- a/tests/run/phantom-1.scala +++ b/tests/run/phantom-1.scala @@ -1,9 +1,3 @@ - -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-2.scala b/tests/run/phantom-2.scala index 7d954dfa6b36..a29012281921 100644 --- a/tests/run/phantom-2.scala +++ b/tests/run/phantom-2.scala @@ -1,7 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ object Test { import Boo._ diff --git a/tests/run/phantom-3.scala b/tests/run/phantom-3.scala index 45be3122f3b3..aaac8bd2953f 100644 --- a/tests/run/phantom-3.scala +++ b/tests/run/phantom-3.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-4.scala b/tests/run/phantom-4.scala index 1c1d58262068..d89592af1cfc 100644 --- a/tests/run/phantom-4.scala +++ b/tests/run/phantom-4.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-5.scala b/tests/run/phantom-5.scala index 8be113d8e2c0..85fd49453692 100644 --- a/tests/run/phantom-5.scala +++ b/tests/run/phantom-5.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-OnHList.scala b/tests/run/phantom-OnHList.scala index ee5da40619da..0990479cd57c 100644 --- a/tests/run/phantom-OnHList.scala +++ b/tests/run/phantom-OnHList.scala @@ -1,10 +1,3 @@ - -/* Run this test with - * `run tests/run/phantomOnHList.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - * - * Disclaimer: This is only a prototype of HList that uses phantom evidences for the append operation - */ object Test { diff --git a/tests/run/phantom-decls-1.scala b/tests/run/phantom-decls-1.scala index c2781abf1696..8faedbdc1a9a 100644 --- a/tests/run/phantom-decls-1.scala +++ b/tests/run/phantom-decls-1.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-decls-2.scala b/tests/run/phantom-decls-2.scala index 4a4f594fe5f3..f5fe9c46f09c 100644 --- a/tests/run/phantom-decls-2.scala +++ b/tests/run/phantom-decls-2.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-decls-3.scala b/tests/run/phantom-decls-3.scala index fe18c8651f04..5fb0bb90baa8 100644 --- a/tests/run/phantom-decls-3.scala +++ b/tests/run/phantom-decls-3.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-decls-4.scala b/tests/run/phantom-decls-4.scala index fe9d9251a329..696636415a0a 100644 --- a/tests/run/phantom-decls-4.scala +++ b/tests/run/phantom-decls-4.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-decls-5.scala b/tests/run/phantom-decls-5.scala index f5bb1a8ef711..7392fcbdd63e 100644 --- a/tests/run/phantom-decls-5.scala +++ b/tests/run/phantom-decls-5.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-erased-methods.scala b/tests/run/phantom-erased-methods.scala index 23b73ab7f920..161dc2c85336 100644 --- a/tests/run/phantom-erased-methods.scala +++ b/tests/run/phantom-erased-methods.scala @@ -1,10 +1,5 @@ import dotty.runtime.ErasedPhantom -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-hk-1.scala b/tests/run/phantom-hk-1.scala index 0e6692f5b730..bcf1c68012c2 100644 --- a/tests/run/phantom-hk-1.scala +++ b/tests/run/phantom-hk-1.scala @@ -1,7 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ object Test { import Boo._ diff --git a/tests/run/phantom-hk-2.scala b/tests/run/phantom-hk-2.scala index 01fdaa893c62..3483e5a4b11a 100644 --- a/tests/run/phantom-hk-2.scala +++ b/tests/run/phantom-hk-2.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-lazy-val.scala b/tests/run/phantom-lazy-val.scala index 4764d1d5cbe7..0aca381d3059 100644 --- a/tests/run/phantom-lazy-val.scala +++ b/tests/run/phantom-lazy-val.scala @@ -1,9 +1,3 @@ - -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-1.scala b/tests/run/phantom-methods-1.scala index e823675cff07..4888974c8e77 100644 --- a/tests/run/phantom-methods-1.scala +++ b/tests/run/phantom-methods-1.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-10.scala b/tests/run/phantom-methods-10.scala index de2ea0685ffa..41b8ece4f827 100644 --- a/tests/run/phantom-methods-10.scala +++ b/tests/run/phantom-methods-10.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-11.scala b/tests/run/phantom-methods-11.scala index 82ace83286f8..10b15b8d7d09 100644 --- a/tests/run/phantom-methods-11.scala +++ b/tests/run/phantom-methods-11.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-12.scala b/tests/run/phantom-methods-12.scala index d3daf50b909f..84fb8aa905ff 100644 --- a/tests/run/phantom-methods-12.scala +++ b/tests/run/phantom-methods-12.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-13.scala b/tests/run/phantom-methods-13.scala index f9d1bab1f871..ef33c434acdb 100644 --- a/tests/run/phantom-methods-13.scala +++ b/tests/run/phantom-methods-13.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-2.scala b/tests/run/phantom-methods-2.scala index e85784f31ca7..7849f68d5303 100644 --- a/tests/run/phantom-methods-2.scala +++ b/tests/run/phantom-methods-2.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-3.scala b/tests/run/phantom-methods-3.scala index 769c7c88f22e..cc43ed3b9acd 100644 --- a/tests/run/phantom-methods-3.scala +++ b/tests/run/phantom-methods-3.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-4.scala b/tests/run/phantom-methods-4.scala index 070629037d54..50145d3a4641 100644 --- a/tests/run/phantom-methods-4.scala +++ b/tests/run/phantom-methods-4.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-5.scala b/tests/run/phantom-methods-5.scala index 5a59c9ef7e94..9dccf849f9ae 100644 --- a/tests/run/phantom-methods-5.scala +++ b/tests/run/phantom-methods-5.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-6.scala b/tests/run/phantom-methods-6.scala index a994abc5b8f1..2de694a571c1 100644 --- a/tests/run/phantom-methods-6.scala +++ b/tests/run/phantom-methods-6.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-7.scala b/tests/run/phantom-methods-7.scala index afdc7b8c7aa2..9e76501d99a3 100644 --- a/tests/run/phantom-methods-7.scala +++ b/tests/run/phantom-methods-7.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-8.scala b/tests/run/phantom-methods-8.scala index c0bf096538aa..21eeae6bfb5b 100644 --- a/tests/run/phantom-methods-8.scala +++ b/tests/run/phantom-methods-8.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-methods-9.scala b/tests/run/phantom-methods-9.scala index 4feb7bfcc730..c02d7cf9af03 100644 --- a/tests/run/phantom-methods-9.scala +++ b/tests/run/phantom-methods-9.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomRefErasure,phantomErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-poly-1.scala b/tests/run/phantom-poly-1.scala index 4f16c5dcb325..822556f7a0ed 100644 --- a/tests/run/phantom-poly-1.scala +++ b/tests/run/phantom-poly-1.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-poly-2.scala b/tests/run/phantom-poly-2.scala index 02152bf0ea4d..6a519573a8a0 100644 --- a/tests/run/phantom-poly-2.scala +++ b/tests/run/phantom-poly-2.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-poly-3.scala b/tests/run/phantom-poly-3.scala index 92fdced4d855..65dbd137f9cf 100644 --- a/tests/run/phantom-poly-3.scala +++ b/tests/run/phantom-poly-3.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-poly-4.scala b/tests/run/phantom-poly-4.scala index 4bd2a3127808..697686fa8390 100644 --- a/tests/run/phantom-poly-4.scala +++ b/tests/run/phantom-poly-4.scala @@ -1,8 +1,3 @@ -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._ diff --git a/tests/run/phantom-val.scala b/tests/run/phantom-val.scala index d6d42e008d96..e514e8e312e4 100644 --- a/tests/run/phantom-val.scala +++ b/tests/run/phantom-val.scala @@ -1,9 +1,3 @@ - -/* Run this test with - * `run tests/run/xyz.scala -Xprint-diff-del -Xprint:arrayConstructors,phantomTermErasure,phantomTypeErasure,erasure` - * to see the the diffs after PhantomRefErasure, PhantomDeclErasure and Erasure. - */ - object Test { import Boo._