Class: Steep::Diagnostic::Ruby::UnannotatedEmptyCollection

Inherits:
Base
  • Object
show all
Defined in:
lib/steep/diagnostic/ruby.rb

Instance Attribute Summary

Attributes inherited from Base

#location, #node

Instance Method Summary collapse

Methods inherited from Base

#detail_lines, #diagnostic_code, #initialize

Methods included from Helper

#error_name, #full_message

Constructor Details

This class inherits a constructor from Steep::Diagnostic::Ruby::Base

Instance Method Details

#header_lineObject



998
999
1000
1001
# File 'lib/steep/diagnostic/ruby.rb', line 998

def header_line
  node or raise
  "Empty #{node.type} doesn't have type annotation"
end