class Tapioca::Gem::Pipeline

def compile_constant(symbol, constant)

: (String symbol, BasicObject constant) -> void
@without_runtime
def compile_constant(symbol, constant)
  case constant
  when Module
    if name_of(constant) != symbol
      compile_alias(symbol, constant)
    else
      compile_module(symbol, constant)
    end
  else
    compile_object(symbol, constant)
  end
end