added more 'abstract' modifier checks; added 'ClassModifiers'

This commit is contained in:
svtk
2011-09-08 15:14:22 +04:00
parent 73b4fa2ea1
commit dd0b3c8f0e
24 changed files with 258 additions and 161 deletions
+2 -2
View File
@@ -40,9 +40,9 @@ fun Int.foo() = this
namespace null_safety {
fun parse(cmd: String): Command? { return null }
abstract class Command() {
class Command() {
// fun equals(other : Any?) : Boolean
abstract val foo : Int
val foo : Int = 0
}
fun Any.equals(other : Any?) : Boolean = true