[Oberon] Oberon-2 type bound procedure scope
Stefano Ferrari
ferrari_stefano at alice.it
Wed Dec 6 23:54:16 CET 2023
Consider a type bound procedure declaration
PROCEDURE (tree: Tree) AddNode(node: Node);
Where does the procedure scope start?
Identifier ‘tree’ (receiver) belongs to the procedure scope, identifier ‘AddSymbol’ belongs to outer scope and then identifier ‘node’ belongs to procedure scope again
Weird, isn’t it?
Inviato da Posta per Windows
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20231206/f59a9aaa/attachment.html>
More information about the Oberon
mailing list