[Bug]: No error when referencing readonly service object inside non serveice class #41175
Labels
Area/Compiler
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Bug
Milestone
Description
Including the service object
FooObj
insideFooClass
does not give any error. If we removereadonly
from theFooObj
it gives the errorinvalid object type inclusion: missing 'service' qualifier(s) in the referencing object
The text was updated successfully, but these errors were encountered: