我有此代码不起作用
type Option(xsdLocation:string, xmlDirectory:string) =
member this.XsdLocation = xsdLocation
member this.XmlDirectory = xmlDirectory
let a1 = new Option("xsd","xml")
let a2 = {a1 with XsdLocation = "xsd2"}
我得到了错误 error FS1129: The type 'Option' does not contain a field 'XsdLocation'
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句