class TypeParamCountMismatchError
Public Class Methods
new(ast, expected_count)
click to toggle source
Calls superclass method
CompilerError::new
# File lib/compiler_error.rb, line 71 def initialize ast, expected_count super ast.position @expected_count = expected_count @actual_count = ast.params.length end
Public Instance Methods
info()
click to toggle source
# File lib/compiler_error.rb, line 77 def info "generic parameter count mismatch: expected #{@expected_count}, provided #{@actual_count}" end