o_MethodAddDefinition

open override fun o_MethodAddDefinition(self: AvailObject, definition: A_Definition)

Method manipulation takes place while all fibers are L1-precise and suspended. Use a global lock at the outermost calls to side-step deadlocks. Because no fiber is running, we don't have to protect subsystems like the L2Generator from these changes.

Also create definition parsing plans for each bundle. HOWEVER, note that we don't update the current module's message bundle tree here, and leave that to the caller to deal with. Other modules' parsing should be unaffected, although runtime execution may change.