forked from scala/scala
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update check now that trait vals can be concrete, use names not letters
note the progression in a concrete trait val now being recognized as such ``` -trait T => true -method $init$ => false -value z1 => true -value z2 => true // z2 is actually concrete! ```
- Loading branch information
Showing
2 changed files
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
Testing Symbol.isAbstract... | ||
=======class C======= | ||
class C => true | ||
constructor C => false | ||
value x1 => true | ||
value x2 => false | ||
value x2 => false | ||
method y1 => true | ||
method y2 => false | ||
type T1 => true | ||
type T2 => false | ||
class C => abstract | ||
constructor C => concrete | ||
value xAbs => abstract | ||
value x => concrete | ||
value x => concrete | ||
method yAbs => abstract | ||
method y => concrete | ||
type TAbs => abstract | ||
type T => concrete | ||
=======trait T======= | ||
trait T => true | ||
method $init$ => false | ||
value z1 => true | ||
value z2 => true | ||
method w1 => true | ||
method w2 => false | ||
type U1 => true | ||
type U2 => false | ||
method T$_setter_$z2_= => true | ||
=======class D======= | ||
class D => false | ||
constructor D => false | ||
value x1 => false | ||
value x1 => false | ||
method y1 => false | ||
trait T => abstract | ||
method $init$ => concrete | ||
value zAbs => abstract | ||
value z => concrete | ||
method wAbs => abstract | ||
method w => concrete | ||
type UAbs => abstract | ||
type U => concrete | ||
method T$_setter_$z_= => abstract | ||
=======class AllConcrete======= | ||
class AllConcrete => concrete | ||
constructor AllConcrete => concrete | ||
value xAbs => concrete | ||
value xAbs => concrete | ||
method yAbs => concrete | ||
=======object M======= | ||
object M => false | ||
constructor M => false | ||
object M => concrete | ||
constructor M => concrete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters