mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-03 23:14:18 +00:00
AS3 code completion - do not complete constructors
This commit is contained in:
@@ -752,7 +752,7 @@ public class ActionScript3SimpleParser implements SimpleParser {
|
||||
} else {
|
||||
fname = new Path(s.value.toString());
|
||||
}
|
||||
if (fname.equals(classNameStr)) { //constructor
|
||||
if (fname.toString().equals(classNameStr)) { //constructor
|
||||
if (isStatic) {
|
||||
errors.add(new SimpleParseException("Constructor cannot be static", lexer.yyline(), s.position));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user