-
Notifications
You must be signed in to change notification settings - Fork 476
Closed
Labels
Description
As following task of #7057
JS-like shift operators need to be implemented as unified operators
- Left shift (
<<,lsl) - supportint,bigint - Right shift (
>>,asr) - supportint,bigint - Unsigned right shift (
>>>,lsr) - supportint
Old names should be kept for compatibility, but introducing longer clear names would be good. e.g. leftShift, unsignedRightShift
>>> only accepts int, but is a unified operator for consistency.
This adds new token rules to the syntax, follow-up tasks for editor support will be opened.
gwansikk and zth
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done