Does Dart support inner class?

6,568 views
Skip to first unread message

Tom

unread,
Jan 9, 2012, 11:36:12 PM1/9/12
to General Dart Discussion
For example,

class A {
class B {
...

Peter Ahé

unread,
Jan 10, 2012, 1:53:02 AM1/10/12
to Tom, General Dart Discussion
Not a the moment.

Cheers,
Peter

Edouard Tavinor

unread,
Jan 14, 2013, 3:25:38 AM1/14/13
to mi...@dartlang.org, Tom
Oh, this is a pity. I've just found a good use case for inner classes and, coming from Java, expected it to just work (TM). Is there a bug report I could +1?

Thanks!

Ed

Ladislav Thon

unread,
Jan 14, 2013, 3:30:02 AM1/14/13
to mi...@dartlang.org

Oh, this is a pity. I've just found a good use case for inner classes and, coming from Java, expected it to just work (TM). Is there a bug report I could +1?


Note that Gilad says in the 2nd comment: To avoid any misunderstandings, I should make it clear that we would NOT do this the way it was done in the Java programming language.

LT

Edouard Tavinor

unread,
Jan 14, 2013, 3:31:03 AM1/14/13
to mi...@dartlang.org, Tom
Just found a bug report! ( https://groups.google.com/a/dartlang.org/d/topic/bugs/DuZiGiusixo/discussion ). Now to read up on the differences between inner classes in Java and inner classes in Beta/Newspeak.

Ed
Reply all
Reply to author
Forward
0 new messages