Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Declaration of interface deprecated  (Read 5298 times)
Peter
Full Member
***
Posts: 26


View Profile Email
« 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
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 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.
Logged
Peter
Full Member
***
Posts: 26


View Profile Email
« Reply #2 on: January 15, 2013, 12:17:51 »

Great! Thanks Cliff for the support.
Logged
Pages: [1]
Print