 
 { TreeTransformer } = require 'nodevisitor'
 
-{ create_intrinsic } = require 'echo-util'
+{ create_intrinsic, is_intrinsic } = require 'echo-util'
 
 #
 # EqIdioms checks for the following things:


                # now make sure the init block initializes update_identifier_name

                if exp.init.type isnt VariableDeclaration and exp.init.type isnt AssignmentExpression
                        return super

                if exp.init.type is VariableDeclaration

                        
                # if we've made it here, we have an expression we can deal with.
###                

passes = [
        EqIdioms
        ]
        
exports.run = (tree) ->

        passes.forEach (passType) ->
                pass = new passType
                tree = pass.visit tree
                debug.log 2, "after: #{passType.name}"
                debug.log 2, -> escodegen.generate tree

        return tree
