Fixed type variable evaluation, it now occurs at var definition

This commit is contained in:
2022-09-07 14:21:40 +01:00
parent 6511d652f2
commit 6c71a16e3e
3 changed files with 41 additions and 21 deletions

View File

@@ -385,11 +385,11 @@ int hashLiteral(Literal lit) {
case LITERAL_IDENTIFIER:
return HASH_I(lit); //pre-computed
// case LITERAL_TYPE:
// //not needed
case LITERAL_TYPE:
return AS_TYPE(lit).typeOf; //nothing else I can do
// case LITERAL_ANY:
// //not needed
case LITERAL_ANY:
return -1;
default:
//should never bee seen