diff options
| author | yui-knk <spiketeika@gmail.com> | 2022-10-01 17:19:34 +0900 |
|---|---|---|
| committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2022-10-08 17:59:11 +0900 |
| commit | 4f24f3ea94e43d1021fdd8548480f130f5112b99 (patch) | |
| tree | 8cfe7d2e7dd0dcdabc31aa7a781858b9364a1291 /spec/ruby/core | |
| parent | 342d4c16d963408905fd08118d1908fe197f2364 (diff) | |
Treat "end" as reserved word with consideration of indent
"end" after "." or "::" is treated as local variable or method,
see `EXPR_DOT_bit` for detail.
However this "changes" where `bar` method is defined. In the example
below it is not module Z but class Foo.
```
module Z
class Foo
foo.
end
def bar
end
end
```
[Feature #19013]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6512
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
