Skip to content

Commit

Permalink
Dependencies checking should happen after arguments building
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancisBourre committed Jun 2, 2017
1 parent 56c4e29 commit 3ea74cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hex/compiletime/basic/CompileTimeContextFactory.hx
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,11 @@ class CompileTimeContextFactory
}
else
{
this._checkDependencies( constructorVO );
buildMethod = hex.compiletime.factory.ClassInstanceFactory.build;
}

var result = buildMethod( this._getFactoryVO( constructorVO ) );
this._checkDependencies( constructorVO );

if ( id != null )
{
Expand Down

0 comments on commit 3ea74cd

Please sign in to comment.