diff --git a/lib/compiler/passes/report-infinite-recursion.js b/lib/compiler/passes/report-infinite-recursion.js
index <HASH>..<HASH> 100644
--- a/lib/compiler/passes/report-infinite-recursion.js
+++ b/lib/compiler/passes/report-infinite-recursion.js
@@ -1,7 +1,6 @@
 "use strict";
 
-let arrays       = require("../../utils/arrays"),
-    GrammarError = require("../../grammar-error"),
+let GrammarError = require("../../grammar-error"),
     asts         = require("../asts"),
     visitor      = require("../visitor");
 
@@ -36,7 +35,7 @@ function reportInfiniteRecursion(ast) {
     },
 
     rule_ref: function(node) {
-      if (arrays.contains(visitedRules, node.name)) {
+      if (visitedRules.indexOf(node.name) !== -1) {
         visitedRules.push(node.name);
 
         throw new GrammarError(
Don't use "arrays" in lib/compiler/passes/report-infinite-recursion.js

The "arrays" module will be removed.

See #<I>.