Fixed function parameter type not setting properly when unbound
This commit is contained in:
parent
00178cfa82
commit
2a0cce9bac
|
@ -9,7 +9,7 @@ namespace Upsilon.Binder.VariableSymbols
|
||||||
|
|
||||||
public FunctionParameterSymbol(string name, Type type) : base(name, type, true)
|
public FunctionParameterSymbol(string name, Type type) : base(name, type, true)
|
||||||
{
|
{
|
||||||
|
_type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FunctionParameterSymbol(string name, BoundTypeDefinition type) : base(name, type.ScriptType, true)
|
public FunctionParameterSymbol(string name, BoundTypeDefinition type) : base(name, type.ScriptType, true)
|
||||||
|
|
|
@ -11,7 +11,7 @@ namespace Upsilon.Binder.VariableSymbols
|
||||||
Name = name;
|
Name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual Type Type { get; set; }
|
public virtual Type Type { get; set; } = Type.Unknown;
|
||||||
public bool Local { get; }
|
public bool Local { get; }
|
||||||
public string Name { get; }
|
public string Name { get; }
|
||||||
public string[] CommentValue { get; set; }
|
public string[] CommentValue { get; set; }
|
||||||
|
|
Loading…
Reference in New Issue