Skip to content

Commit 39f47c9

Browse files
committed
Remove RBS::WillSyntaxError
1 parent 839a86d commit 39f47c9

2 files changed

Lines changed: 0 additions & 19 deletions

File tree

lib/rbs/errors.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -591,17 +591,6 @@ def location
591591
end
592592
end
593593

594-
class WillSyntaxError < DefinitionError
595-
include DetailedMessageable
596-
597-
attr_reader :location
598-
599-
def initialize(message, location:)
600-
super "#{Location.to_string(location)}: #{message}"
601-
@location = location
602-
end
603-
end
604-
605594
class TypeParamDefaultReferenceError < DefinitionError
606595
include DetailedMessageable
607596

sig/errors.rbs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -387,14 +387,6 @@ module RBS
387387
def location: () -> AST::Declarations::AliasDecl::loc?
388388
end
389389

390-
class WillSyntaxError < BaseError
391-
include RBS::DetailedMessageable
392-
393-
def initialize: (String message, location: Location[untyped, untyped]?) -> void
394-
395-
attr_reader location: Location[untyped, untyped]?
396-
end
397-
398390
class TypeParamDefaultReferenceError < BaseError
399391
include DetailedMessageable
400392

0 commit comments

Comments
 (0)