Skip to content

Commit

Permalink
Critical bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatrixTeam committed Mar 28, 2017
1 parent 1dee6cb commit 45fc68a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
16 changes: 12 additions & 4 deletions crxOop.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//version: 1.2
//version: 1.2.01
/*
The MIT License (MIT)
Expand Down Expand Up @@ -357,10 +357,10 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
if(!gParsingData[vClass.CRX_CLASS_ID].remainingAbstractVirtuals.p.hasOwnProperty(tKey))
{continue;}

tRestOfMessage += (tIsNotFirst ? ", " : "") + tKey + "()";
tRestOfMessage += (tIsNotFirst ? ", \"" : "\"") + tKey + "()\"";
tIsNotFirst = true;
}
halt("CAN NOT CREATE INSTANCE OF ABSTRACT CLASS. MISSING IMPLEMENTATIONS FOR FUNCTIONS " + tRestOfMessage);
halt("CAN NOT CREATE INSTANCE OF ABSTRACT CLASS \"" + getClassNameOrID(vClass) + "\". MISSING IMPLEMENTATIONS FOR FUNCTIONS " + tRestOfMessage);
}

vObjects = _new_build(gCompiledClasses[vClass.CRX_CLASS_ID], vCRX_CLASS_INFOs, {p: false}, vLength);
Expand Down Expand Up @@ -1588,7 +1588,15 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
'AN ABSTRACT VIRTUAL FUNCTION, CAN NOT BE DECLARED FINAL');
}
else
{pVirtualFinalFunctions[tKey] = pClassNameOrID;}
{
if(pRemainingAbstractVirtuals.p[tKey])
{
delete pRemainingAbstractVirtuals.p[tKey];
pRemainingAbstractVirtuals.length--;
}

pVirtualFinalFunctions[tKey] = pClassNameOrID;
}
}
else
{
Expand Down
Loading

0 comments on commit 45fc68a

Please sign in to comment.