- status: open --> pending
- assigned_to: Marco Antoniotti
I encountered an error during loading of HELambdaP commit 9777e81. While investigating it, I may have uncovered a potential bug in how code in helambdap-globals.lisp calls clad:ensure-app-or-library-data-folder: The call to the clad function is made with arguments that are inconsistent with type declarations in clad:ensure-app-or-library-data-folder.
When compiling/loading of helambdap-globals.lisp a call is made to clad:ensure-app-or-library-data-folder during the definition of the parameter helambdap-data-folder. The call is made with a single string argument, and the keywords version-name and impl-dependent-too being NIL. From the trace:
0> Calling (IT.UNIMIB.DISCO.MA.CLAD:ENSURE-APP-OR-LIBRARY-DATA-FOLDER "HELambdaP")
In the clad routine, the two keyword arguments are declared of type string. So them being NIL triggered an error.
I was able to finish the compilation by setting the default value of those keywords to empty strings.
Unfortunately, now even when I revert to the original code, clear the fasls, and use :force t I am unable to reproduce the error.
I leave it to Marco to decide whether this is a bug or not.