From 157955ccf2a76884232a8ae9e2c91564f465977c Mon Sep 17 00:00:00 2001 From: nick_battle Date: Wed, 23 Feb 2022 16:41:54 +0000 Subject: [PATCH] Make TypeCheckerAssistantFactory Serializable, fixes #785 --- .../typechecker/assistant/TypeCheckerAssistantFactory.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/typechecker/src/main/java/org/overture/typechecker/assistant/TypeCheckerAssistantFactory.java b/core/typechecker/src/main/java/org/overture/typechecker/assistant/TypeCheckerAssistantFactory.java index 727845dd17..f894436b07 100644 --- a/core/typechecker/src/main/java/org/overture/typechecker/assistant/TypeCheckerAssistantFactory.java +++ b/core/typechecker/src/main/java/org/overture/typechecker/assistant/TypeCheckerAssistantFactory.java @@ -21,6 +21,7 @@ */ package org.overture.typechecker.assistant; +import java.io.Serializable; import java.util.Collection; import java.util.LinkedList; import java.util.List; @@ -134,8 +135,10 @@ * @author ldc */ public class TypeCheckerAssistantFactory extends AstAssistantFactory - implements ITypeCheckerAssistantFactory + implements ITypeCheckerAssistantFactory, Serializable { + private static final long serialVersionUID = 1L; + // instance variables of things to return transient TypeComparator typeComp; transient LexNameTokenAssistant lnt;