fix error

This commit is contained in:
Ahmad 2024-05-08 16:06:20 +02:00
parent bfcbb4dc2d
commit 81d1cf6ca8

View File

@ -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