From 81d1cf6ca86061a936793cf5db8ab7a74ee3f527 Mon Sep 17 00:00:00 2001 From: Ahmad Date: Wed, 8 May 2024 16:06:20 +0200 Subject: [PATCH] fix error --- src/main/java/de/maishai/typedast/typedclass/TypedClass.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/maishai/typedast/typedclass/TypedClass.java b/src/main/java/de/maishai/typedast/typedclass/TypedClass.java index 0b08717..7317d06 100644 --- a/src/main/java/de/maishai/typedast/typedclass/TypedClass.java +++ b/src/main/java/de/maishai/typedast/typedclass/TypedClass.java @@ -114,7 +114,7 @@ public class TypedClass implements TypedNode { c.typedFields = List.of(f1, f2); //Constructors - TypedConstructor constructor = new TypedConstructor(false, "SomeClass", List.of(new TypedParameter("test", Type.INT)), new TypedBlock()); + TypedConstructor constructor = new TypedConstructor( "SomeClass", List.of(new TypedParameter("test", Type.INT)), new TypedBlock()); c.typedConstructors = List.of(constructor); //Methods