miscellaneous bug fixes (part 3) (#13304)
* fix deprecation; fix indentation
* git clone: use -q
* fix Warning: pragma before generic parameter list is deprecated; fix typo
* bugfix: sysTypeFromName("float64") was never cached
This commit is contained in:
parent
79ec8c2571
commit
1f725f1d7e
6 changed files with 13 additions and 11 deletions
|
|
@ -134,7 +134,7 @@ proc evalTypeTrait(c: PContext; traitCall: PNode, operand: PType, context: PSym)
|
|||
newTypeWithSons(context, kind, sons).toNode(traitCall.info)
|
||||
|
||||
if operand.kind == tyGenericParam or (traitCall.len > 2 and operand2.kind == tyGenericParam):
|
||||
return traitCall ## tpo early to evaluate
|
||||
return traitCall ## too early to evaluate
|
||||
|
||||
let s = trait.sym.name.s
|
||||
case s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue