Update FuncType.java
This commit is contained in:
@@ -8,13 +8,11 @@ import java.util.List;
|
||||
/** Semantic information for a function or method. */
|
||||
public class FuncType extends Type {
|
||||
|
||||
|
||||
/** Types of parameters. */
|
||||
public final List<ValueType> parameters;
|
||||
/** Function's return type. */
|
||||
public final ValueType returnType;
|
||||
|
||||
|
||||
/** Create a FuncType returning RETURNTYPE0, initially parameterless. */
|
||||
public FuncType(ValueType returnType0) {
|
||||
this(new ArrayList<>(), returnType0);
|
||||
|
||||
Reference in New Issue
Block a user