@kmizu that is a logical thing to think, but nope.
2014-02-10 17:25:48@kmizu martin: “Same-named inner classes which are in no relationship with each other are explicitly allowed in both Java and Scala.”
2014-02-10 17:25:59@extempore2 Hi. It seems that you example doesn't indicate unsoundness of Scala's type system but scalac's bug for me.
2014-02-10 17:26:03@extempore2 .@kmizu Of course. Scala's type system doesn't have formal definition. However, many practical languages doesn't have it, too.
2014-02-10 17:28:04@extempore2 What do you mean? I see think the problem is whether Scala type system is unsound or not.
2014-02-10 18:17:16@kmizu I don’t think there’s any question as to whether it is unsound. It is.
2014-02-10 18:17:45@kmizu Did you read my comments in https://t.co/EbHGw26SDj ?
2014-02-10 18:18:29@extempore2 .@kmizu And it is not determined completely unless the type system is not well-defined.
2014-02-10 18:20:09@kmizu I am not sure what “it” refers to in “it is not determined completely.”
2014-02-10 18:20:59@extempore2 Yes, of course. But the unsoundness is not trivial for me, at least.
2014-02-10 18:23:31@kmizu I am not sure how one should judge unsoundness to be trivial.
2014-02-10 18:24:15@extempore2 I'm sorry for not good at English. "it" refers "whether Scala type system is unsound or not".
2014-02-10 18:24:45@kmizu Here is another one, which includes a huge number of classes. https://t.co/pkxn11Yen8
2014-02-10 18:24:52@kmizu As specified it is unquestionably unsound. This is openly admitted by martin in SI-7255. But there is lots more.
2014-02-10 18:26:43@extempore2 OK. I understood what you want to say at last. Certainly, the problem https://t.co/WSly8iSFIZ indicates unsoundenss. Thanks.
2014-02-10 18:30:15@extempore2 I have another question. How do you think about DOT? According to Martin, The DOT (Dependend Object Types) fixes the problem.
2014-02-10 18:35:21@extempore2 .@kmizu I'd already read the Namin's paper about DOT, of course.
2014-02-10 18:37:11@kmizu The soundness issues in scala are not a result of the theory but of indifference to correctness. DOT can’t fix that.
2014-02-10 18:37:37@extempore2 Yes, DOT can'T fix scalac's implementation. However, the different type theory Scala is based on can fix future's implementation
2014-02-10 18:40:28@kmizu No theory yet devised can outrun indifference to correctness.
2014-02-10 18:41:49