You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PL/I data moves: decide how a user-defined function call in an assignment is read (function name vs argument items) #9230
Found by the blind review of the widened DSF PL/I key (#9216). In X = F(Y);, where F is a user function and not a built-in, the engine and the key both read F as a data item (a subscripted name; the subscript is dropped), so the move is F -> X and Y is not a source. The blind reviewers read it as a function call and gave Y -> X. Eleven of the sixteen PL/I disagreements were this shape (F_SNU_DATO, F_ALDER, F_FELT_CHAR_PIC4, KONV_HÅMD_ÅMD, ...).
From one file the two cannot be told apart: the declaration (DCL F ENTRY, or the %INCLUDE that holds it) is not in the file. Built-ins are listed in the contract and are not sources; user functions are not mentioned. I ruled these key_correct (the key follows the written convention), but that convention may lose real data flow: the argument is what flows into the target.
Decision wanted: (a) keep the convention (a name followed by ( is a data item) and say so in the brief and the contract, or (b) resolve declarations (ENTRY / procedure names found in the file or its includes) and treat a resolved function as a call whose argument items are the sources. (b) changes engine rows, the key reader and the contract together.
Activity
PL/I data moves: a user function declared in the file is a call, its …