PR# 19991 Once classes: calling a regular once procedure

Problem Report Summary
Submitter: gobobe
Category: Compiler
Priority: Low
Date: 2026/06/04
Class: Bug
Severity: Non-critical
Number: 19991
Release: 25.12.9.8922
Confidential: No
Status: Open
Responsible:
Environment: win
Synopsis: Once classes: calling a regular once procedure

Description
When calling a regular once creation procedure (one that has not been declared as creation procedure) on an instance of a once class, we end up either with a runtime segmentation violation in workbench mode, or with a C compilation error in finalized mode.

--
Eric Bezault
To Reproduce
class AA

create

	make

feature

	make
		local
			b: BB
		do
			create b.f
			b.g
		end
		
end
~~~~~~
once class BB

create

	f

feature

	f
		once
		end

	g
		once
		end

end
Problem Report Interactions