lib/steep/drivers/checkfile.rb in steep-1.5.0 vs lib/steep/drivers/checkfile.rb in steep-1.5.1
- old
+ new
@@ -166,11 +166,10 @@
master.start_type_check(request, last_request: nil, start_progress: true)
Steep.logger.info { "Starting type checking: #{request_guid}" }
- diagnostic_notifications = []
- error_messages = []
+ error_messages = [] #: Array[String]
client_reader.read do |response|
case
when response[:method] == "textDocument/publishDiagnostics"
params = response[:params]