Skip to content

Commit

Permalink
Adjusting to prepareForSerialization parameter change
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Nov 11, 2023
1 parent 0b6987c commit 01e0d20
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ class ImportExportTest
val baos = new ByteArrayOutputStream()
val stream = new ObjectOutputStream(baos)
mainIr.preorder.foreach(
_.passData.prepareForSerialization(langCtx.getCompiler)
_.passData.prepareForSerialization(langCtx.getCompiler.context)
)
stream.writeObject(mainIr)
baos.toByteArray should not be empty
Expand Down Expand Up @@ -943,7 +943,7 @@ class ImportExportTest
val baos = new ByteArrayOutputStream()
val stream = new ObjectOutputStream(baos)
mainIr.preorder.foreach(
_.passData.prepareForSerialization(langCtx.getCompiler)
_.passData.prepareForSerialization(langCtx.getCompiler.context)
)
stream.writeObject(mainIr)
baos.toByteArray should not be empty
Expand Down

0 comments on commit 01e0d20

Please sign in to comment.