lib/opal/rewriters/base.rb
# This is called when a rewriting error occurs.
This is called when a rewriting error occurs.
This is called when a rewriting error occurs .
def error(msg)
        error = ::Opal::RewritingError.new(msg)
        error.location = current_node.loc if current_node
        raise error
      end
def error ( msg ) error = :: Opal :: RewritingError . new ( msg ) error . location = current_node . loc if current_node raise error end
This is called when a rewriting error occurs.
This is called when a rewriting error occurs .
msg
<not_specific>