 queue = new Meteor._SynchronousQueue()
 
 _.extend Tracker,
-  currentComputationVar: new Meteor.EnvironmentVariable()
+  _currentComputation: new Meteor.EnvironmentVariable()
 
   flush: ->
     if not queue.safeToRunTask()

    @_onInvalidateCallbacks = []
    @_recomputing = false

    Tracker.currentComputationVar.withValue @, =>
      @_func = Meteor.bindEnvironment(f, null, @)

    errored = true

Object.defineProperties Tracker,
  currentComputation:
    get: ->
      Tracker._currentComputation.get()
  active:
    get: ->
      !!Tracker._currentComputation.get()

class Tracker.Computation
  constructor: (f, @_parent, p)->
