Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/thread.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,8 @@ class Thread::Queue[E = untyped] < Object
# If `timeout` seconds have passed and no data is available `nil` is returned.
# If `timeout` is `0` it returns immediately.
#
def pop: (?boolish non_block, ?timeout: _ToF?) -> E?
def pop: (?false non_block, ?timeout: _ToF?) -> E?
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def pop: (?false non_block, ?timeout: _ToF?) -> E?
def pop: (?boolish non_block, ?timeout: _ToF?) -> E?

Same as #2963.

| (true non_block) -> E

# <!--
# rdoc-file=thread_sync.c
Expand Down
3 changes: 2 additions & 1 deletion stdlib/bigdecimal/0/big_decimal.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,8 @@ module Kernel
# Raises an exception if `value` evaluates to a Float and `digits` is larger
# than Float::DIG + 1.
#
def self?.BigDecimal: (real | string | BigDecimal initial, ?int digits, ?exception: bool) -> BigDecimal
def self?.BigDecimal: (real | string | BigDecimal initial, ?int digits, ?exception: true) -> BigDecimal
| (real | string | BigDecimal initial, ?int digits, exception: false) -> BigDecimal?
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| (real | string | BigDecimal initial, ?int digits, exception: false) -> BigDecimal?
| (real | string | BigDecimal initial, ?int digits, exception: bool) -> BigDecimal?

end

%a{annotate:rdoc:skip}
Expand Down
Loading