pcf 没有显示任何错误或单独编译它。构建整个项目后,它会抛出 Gosu 语法错误。我们在将其升级到 guidewire 版本 10 时遇到了这个问题。
示例错误。
Error:(43, 43) Gosu compiler: Syntax error. [line:36 col:50] in
line 35: function def_onEnter_38 (def : pcf.ClaimNewContactPickerMenuItemSet) : void {
line 36: def.onEnter(statictypeof (CheckPayee.Payee), , Payment.Check.Claim)
line 37: }
Error:(43, 43) Gosu compiler: Syntax error. [line:41 col:59] in
line 40: function def_refreshVariables_39 (def : pcf.ClaimNewContactPickerMenuItemSet) : void {
line 41: def.refreshVariables(statictypeof (CheckPayee.Payee), , Payment.Check.Claim)
line 42: }