PR# 19993 Once classes: once-per-process in SCOOP mode

Problem Report Summary
Submitter: gobobe
Category: Compiler
Priority: Low
Date: 2026/06/05
Class: Bug
Severity: Non-critical
Number: 19993
Release: 25.12.9.8922
Confidential: No
Status: Open
Responsible:
Environment: win
Synopsis: Once classes: once-per-process in SCOOP mode

Description
When in SCOOP mode, if the creation procedure of a once class is a once-per-process procedure, the type of corresponding creation instructions and creation expressions should be declared as separate. This was discussed at the bottom of this page: https://www.eiffel.org/blog/Alexander%20Kogtenkov/2020/12/once-classes
But the EiffelStudio compiler fails to report the error.

--
Eric Bezault
To Reproduce
class AA

create

	make,
	make_separate

feature

	make
		local
			b: BB
			a: separate AA
		do
			create b.make
			create a.make_separate
		end

	make_separate
		local
			b: BB
		do
			create b.make
		end

end
~~~~~~
once class BB

create

	make

feature

	make
		once ("PROCESS")
		end

end
Problem Report Interactions