-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Labels
asrASR related changesASR related changesquestionFurther information is requestedFurther information is requested
Description
The ASR spec for SubroutineCall
is (modulo Issue #1479)
;; | SubroutineCall(symtab-id id, symbol name, symbol? original_name,
;; call_arg* args, expr? dt)
Should original_name
be an identifer?
(optional identifier) and not a symbol?
(optional symbol)? Generally speaking, symbols
are recursively evaluated, as in
symbol
= Program(symbol_table symtab, identifier name, identifier* dependencies,
stmt* body)
| Module(symbol_table symtab, identifier name, identifier* dependencies,
bool loaded_from_mod, bool intrinsic)
| Function(symbol_table symtab, identifier name, identifier* dependencies, expr* args, stmt* body,
expr? return_var, abi abi, access access, deftype deftype,
string? bindc_name, bool elemental, bool pure, bool module, bool inline,
bool static, ttype* type_params, symbol* restrictions, bool is_restriction,
bool deterministic, bool side_effect_free)
| GenericProcedure(symbol_table parent_symtab, identifier name,
etc., whereas identifiers (which are not spec'ced in ASDL) evaluate to themselves.
Metadata
Metadata
Assignees
Labels
asrASR related changesASR related changesquestionFurther information is requestedFurther information is requested