Field get_Author should be declared with @:overload since it was already declared as @:overload in superclass
class ScriptingMod extends Mod
{
private static function main(){}
@:overload(function():String{})
public function get_Author(){
return "";
}
}
using spaar.ModLoader.Internal;
using System;
namespace spaar.ModLoader {
public abstract class Mod {
public abstract string Author {
get;
}
// other code ....
}
}
-dce no
-D -net-std=E:/source code/Haxe
-net-lib E:/source code/Haxe/Assembly-CSharp.dll
-net-lib E:/source code/Haxe/Assembly-CSharp-firstpass.dll
-net-lib E:/source code/Haxe/Assembly-UnityScript.dll
-net-lib E:/source code/Haxe/Assembly-UnityScript-firstpass.dll
-net-lib E:/source code/Haxe/UnityEngine.dll
-net-lib E:/source code/Haxe/SpaarModLoader.dll
-D dll
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
Hey Cauê,
Thanks a bunch for your, attention, time and answer!
I understand now why i didnt understood it :-)
Simon