[ https://issues.apache.org/jira/browse/SYSTEMML-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glenn Weidner updated SYSTEMML-259: ----------------------------------- Fix Version/s: (was: SystemML 1.0) SystemML 0.14 > If no return type specified, DML/PyDML function calls require an lvalue > ----------------------------------------------------------------------- > > Key: SYSTEMML-259 > URL: https://issues.apache.org/jira/browse/SYSTEMML-259 > Project: SystemML > Issue Type: Improvement > Components: APIs > Reporter: Deron Eriksson > Assignee: Deron Eriksson > Priority: Minor > Fix For: SystemML 0.14 > > > If a function is defined in DML or PyDML with no return type, and then this > function is called, it requires an lvalue variable to be assigned the value > returned from the function, even though no value is returned from the > function. > DML Example (assigning to z is required): > {code}hello = function() { > print('hi') > } > z = hello(){code} > PyDML Example (assigning to z is required): > {code}def hello(): > print('hi') > z = hello(){code} > DML Example (error: "function call needs to have lvalue (Quickfix: change it > to 'tmpVar = hello(...)')"): > {code}hello = function() { > print('hi') > } > hello(){code} > PyDML Example(error: "function call needs to have lvalue (Quickfix: change it > to 'tmpVar = hello(...)')"): > {code}def hello(): > print('hi') > hello(){code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)