Project

General

Profile

« Previous | Next » 

Revision 8944009b

Added by schneems (Richard Schneeman) almost 4 years ago

Deprecate Lexer::Elem#[] and Lexer::State#[]

Discussed in https://github.com/ruby/ruby/pull/5093#issuecomment-964426481.

it would be enough to mimic only [] for almost all cases

This adds back the Lexer::Elem#[] and Lexer::State#[] and adds deprecation warnings for them.