mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Fixed type variable evaluation, it now occurs at var definition
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user