PR# 20000 Once classes: invalid inspect value: wrong number of actual arguments
Problem Report Summary
Submitter: gobobe
Category: Compiler
Priority: Low
Date: 2026/06/07
Class: Bug
Severity: Non-critical
Number: 20000
Release: 25.12.9.8922
Confidential: No
Status: Open
Responsible:
Environment: win
Synopsis: Once classes: invalid inspect value: wrong number of actual arguments
Description
The validity rule VOMB-1 says that the inspect values should be valid.
In the example below, the inspect value `{BB}.f (3)` is not valid because `f` has no formal argument.
--
Eric Bezault
To Reproduce
class AA
create
make
feature
make
local
b: BB
do
create b.f
inspect b
when {BB}.f (3) then
else
end
end
end
~~~~~~~~~~~~~~~
once class BB
create
f
feature
f
once
end
end
Problem Report Interactions
Do I win something for submitting the 20,000th problem report? -- Eric Bezault