grails 3.3.5 からの移行 -> grails 4.0.0.M2
私のクラスには@GrailsCompileStatic
& という注釈が付けられており、3.3.5 では問題なくコンパイルできました。
Date.parse()
他の多くのクラスでも、またはDate.format()
またはなどの groovy によって追加で提供されるメソッドのエラーが表示されます。Date.minus()
エラー:
FileCommandReader.groovy: 163: [Static type checking] - Cannot find matching method java.util.Date#parse(java.lang.String, java.lang.String). Please check if the declared type is correct and if the method exists.
@ line 163, column 17.
Date expiry = Date.parse("HH:mm:ss", cols[2]);