Skip to content

Commit

Permalink
Use void instead of bot?
Browse files Browse the repository at this point in the history
The bot is used for methods that either always throw an exception or enter an infinite loop and never terminate. Therefore, I believe void is correct here.
  • Loading branch information
ydah committed Jun 7, 2024
1 parent e9df5fc commit 0f2d99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sig/lrama/grammar.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ module Lrama
def fill_default_precedence: () -> void
def fill_symbols: () -> Array[Grammar::Symbol]
def fill_sym_to_rules: () -> Array[Rule]
def validate_rule_lhs_is_nterm!: () -> bot?
def validate_rule_lhs_is_nterm!: () -> void
end
end

0 comments on commit 0f2d99a

Please sign in to comment.