class BuiltinNameConflictError
Public Class Methods
new(ast)
click to toggle source
Calls superclass method
CompilerError::new
# File lib/compiler_error.rb, line 32 def initialize ast super ast.position @name = ast.name end
Public Instance Methods
info()
click to toggle source
# File lib/compiler_error.rb, line 37 def info "'#{@name}' : type name conflict with built-in type" end