diff --git a/src/Statement.js b/src/Statement.js index 26f0dac..a570912 100644 --- a/src/Statement.js +++ b/src/Statement.js @@ -236,7 +236,7 @@ export default class Statement { } mark () { - if ( this.included ) return; // prevent infinite loops + if ( this.isIncluded ) return; // prevent infinite loops this.isIncluded = true; const dependencies = Object.keys( this.dependsOn );