Skip to content

Commit 2155a07

Browse files
committed
Deprecate top-level float
1 parent 4482ed2 commit 2155a07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/builtin.rbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ type int = Integer | _ToInt
225225

226226
# Represents a `Float`, or a type convertible to it (via `.to_f`).
227227
#
228+
%a{deprecated: Use `_ToF` directly}
228229
type float = Float | _ToF
229230

230231
# Represents a `Range[T]`, or a type that acts like it (via `.begin`, `.end`, and `.exclude_end?`).

0 commit comments

Comments
 (0)