Skip to content
Permalink
Browse files

Fix error during compile when proc is not given ivars after classtypes

  • Loading branch information...
PseudoKnight committed Aug 11, 2019
1 parent f0a6eae commit 4f98c63abff3f286a5a6271fbf3a502508b8d1f9
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/com/laytonsmith/core/functions/DataHandling.java
@@ -1193,6 +1193,8 @@ public static Procedure getProcedure(Target t, Environment env, Script parent, P
|| Construct.IsDynamicHelper(nodes[i].getChildAt(1).getData())) {
usesAssign = true;
}
} else if((nodes[i].getData()).val().equals("__autoconcat__")) {
throw new CREInvalidProcedureException("Invalid arguments defined for procedure", t);
}
}
env.getEnv(GlobalEnv.class).SetFlag("no-check-duplicate-assign", true);

0 comments on commit 4f98c63

Please sign in to comment.
You can’t perform that action at this time.