require 'sass/tree/node'

module Sass::Tree
  class WhileNode < Node
    def initialize(expr, options)
      @expr = expr
      super(options)
    end

    private

    def _perform(environment)
      children = []
      while @expr.perform(environment).to_bool
        children += perform_children
      end
      children
    end
  end
end

require 'sass/tree/node'

module Sass::Tree
  class WhileNode < Node
    def initialize(expr, options)
      @expr = expr
      super(options)
    end

    private

    def _perform(environment)
      children = []
      while @expr.perform(environment).to_bool
        children += perform_children(environment)
      end
      children
    end
  end
end

Fix a bug in @while.
Fix a bug in @while.
