| Ticket UUID: | 8ab06e31e3af6141118a547d52e4636fba9ef252 | ||
| Title: | Compiled [self n] returns the namespace instead of an ambiguous subcommand error | ||
| Type: | Bug | Created on: | 2026-10-12 20:36:12 |
| Submitter: | serhiy.storchaka | Assigned to: | jan.nijtmans |
| Subsystem: | 47. Bytecode Compiler | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2026-10-18 21:14:13 |
| Status: | Pending | Closed by: | nobody |
| Resolution: | Fixed | Closed on: | |
| Version: | 8.6.18, 9.0.5, 9.1.0 | ||
| Description: | ||||
|
oo::class create C {method m {} {self n}}
[C new] m
The compiler accepts any prefix of | ||||
| User Comments: | ||||
serhiy.storchaka added on 2026-10-14 08:03:19:
Proposed fix in branch compile-self-ambiguous:
the compiler now requires at least jan.nijtmans added on 2026-10-18 21:14:13:
Now merged to [7cd1d5bbe9|trunk] and core-9-0-branch. Merge to core-8-6-branch still to be done. | ||||
