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