File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -892,8 +892,10 @@ void validateCheckedFragments(List<CheckedFragmentValidationBuildItem> validatio
892892 String paramName = e .getKey ();
893893 MethodInfo methodOrConstructor = null ;
894894 if (validation .checkedTemplate .isRecord ()) {
895- Type [] componentTypes = validation .checkedTemplate .recordClass .recordComponents ().stream ()
896- .map (RecordComponentInfo ::type ).toArray (Type []::new );
895+ Type [] componentTypes = validation .checkedTemplate .recordClass .recordComponentsInDeclarationOrder ()
896+ .stream ()
897+ .map (RecordComponentInfo ::type )
898+ .toArray (Type []::new );
897899 methodOrConstructor = validation .checkedTemplate .recordClass
898900 .method (MethodDescriptor .INIT , componentTypes );
899901 } else {
You can’t perform that action at this time.
0 commit comments