ncsa / qdl

the QDL programming language
Other
1 stars 0 forks source link

Call to non-existent system function in a module results in stack overflow #56

Closed jjg-123 closed 1 month ago

jjg-123 commented 1 month ago

Consider

      module['a:a'][size(x)->function#size(x)+1;];
      a≔import('a:a');
      a#size([;5])

Since there is no FQ system function named function#size this should just blow up instantly. Instead, the system attempts to resolve it until there is StackOverFlowException. This should not happen.

(Not a likely scenario and it does fail, but it should really be handled cleanly.)