Skip to content

Commit c337f02

Browse files
committed
Compose
1 parent 41383c0 commit c337f02

File tree

1 file changed

+1
-1
lines changed
  • haskell/compiler/adlc-lib1/ADL/Compiler/Backends

1 file changed

+1
-1
lines changed

haskell/compiler/adlc-lib1/ADL/Compiler/Backends/Java.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ generateSealedUnion codeProfile moduleName javaPackageFn decl union = execState
735735

736736
for_ fieldDetails $ \fd -> do
737737
let recordName = (capitalise . f_name .fd_field) fd
738-
arg = if isVoidType (f_type (fd_field fd)) then "" else fd_typeExprStr fd <> " val"
738+
arg = if (isVoidType . f_type . fd_field) fd then "" else fd_typeExprStr fd <> " val"
739739
constructor = cblock (template "public record $1$4($2) implements $3$4" [recordName, arg, className, typeArgs]) cempty
740740
addMethod constructor
741741
addPermits (className <> "." <> recordName)

0 commit comments

Comments
 (0)