-
Notifications
You must be signed in to change notification settings - Fork 257
Untyped block args #1335
Copy link
Copy link
Closed
Labels
ReleasedPRs already included in the released versionPRs already included in the released versionenhancementNew feature or requestNew feature or request
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
ReleasedPRs already included in the released versionPRs already included in the released versionenhancementNew feature or requestNew feature or request
AR::Base.scopeaccepts lambdas, but the type of the lambdas is difficult to describe in RBS.The proc type means it can receive any argument and any keywords, while what we want is a proc is required but the type of its arguments is not checked. So, we want to introduce a new syntax for untyped args.
Possible syntax:
Any other ones?