PureMVC Architects Lounge

PureMVC Manifold => Bug Report => Topic started by: Peter on January 15, 2013, 04:32:17



Title: Declaration of interface deprecated
Post by: Peter on January 15, 2013, 04:32:17
Hi Cliff,

I'm using:
Dart Editor version 0.2.10_r16761
Dart SDK version 0.2.10.1_r16761

and the 'interface' declaration is now deprecated and should be changed to 'abstract class'.
Also see http://news.dartlang.org/2012/11/breaking-change-deprecated-language-features-and-dart2js.html

I think the puremvc package should be updated?

Peter


Title: Re: Declaration of interface deprecated
Post by: puremvc on January 15, 2013, 11:25:45
Thanks for reporting this, Peter.

Fortunately, I was sitting on a pull request that had been made against the bleeding edge Dart distribution and waiting for it to hit the standard distribution. So I merged that, updated the pubspec.yaml, README and VERSION files, and tagged a new version 2.0.4 out at GitHub.

Of course, made sure the unit tests were all good, and then pushed a new version out to the Pub:
http://pub.dartlang.org/packages/puremvc

So, you can remove the pubspec.lock file on your project and do another pub update, and you should be able to pull down a working version and go.

Cheers,
-=Cliff>

PS: Thanks Adam Singer for the pull request and being ahead of the curve on this one, I really appreciate it.


Title: Re: Declaration of interface deprecated
Post by: Peter on January 15, 2013, 12:17:51
Great! Thanks Cliff for the support.