Cannot launch polymorphic functions via lenses #188
Labels
fixed in VDMJ
Fixed, but awaiting integration of VDMJ into extension
UI bug
Something isn't working in the VSCode UI
Milestone
If you define a polymorphic function, like this:
You get the
Launch | Debug
lenses above it as usual, but since the launch selection (at the Client) does not prompt for the@T
type parameter, you get an error when the launch is performed:That is because it is launched as
set2seq({4,3,2,1})
rather thanset2Seq[nat]({4,3,2,1})
.The Launch and Debug lens commands need to be sensitive to polymorphic functions and prompt for the type parameter(s) as well as the arguments. That probably requires the type names to be sent in the JSON arguments from the lens.
The text was updated successfully, but these errors were encountered: