[mtasc] MMC vs MTASC issue #4

Fix aka Serg Pilguy fix at rs.com.ua
Thu Jun 30 18:00:33 CEST 2005


Hello, Nicolas!

It's me again.

Here is new issue:

I have a class, that implements some interfaces. One of the interfaces
requres some methods, that i dont't need actualy, so i define in the
class empty do-nothing methods.

Then, i tryed to remove these methods and change it to properties:

was:

class Foo implements FooInterface{

      public function doNothing():Void{}
}

became:

class Foo implements FooInterface{

      public var doNothing:Function;
}


MTASC agreed to do such refactoring, but MMC complains:

The implementation of an interface method must be a method, not a property.


--
Fix 
mailto:fix at rs.com.ua






More information about the mtasc mailing list