maybe I have found a problem with optional parameters.
Consider a class in a Vulcan.NET library with one constructor with two optional parameters, one of the parameter default values is cast:
Code: Select all
CLASS ClassWithCtor
CONSTRUCTOR(name := NULL_STRING AS STRING, number := (INT)1 AS INT)
RETURN
END CLASS
Code: Select all
LOCAL test := ClassWithCtor{"fancy"} AS ClassWithCtor
'InheritedXsharp.ClassWithCtor{ STRING }' : no constructor that accepts these argument types VulcanReferencingXsharp
I have attached a demo solution.
Mathias