Skip to content

Commit 0e0bc0e

Browse files
committed
Add RBS signature for Block#location
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
1 parent f06a485 commit 0e0bc0e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

sig/types.rbs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,10 @@ module RBS
518518

519519
attr_reader self_type: t?
520520

521-
def initialize: (type: function, ?self_type: t?, required: boolish) -> void
521+
type loc = Location[bot, bot]
522+
attr_reader location: loc?
523+
524+
def initialize: (location: loc?, type: function, ?self_type: t?, required: boolish) -> void
522525

523526
def ==: (untyped other) -> bool
524527

0 commit comments

Comments
 (0)