Permalink
Browse files

Uints are numeric also.

  • Loading branch information...
1 parent b0bca56 commit 0e251808ca2e4904ac6fa20b9cfdd529d0ad34b0 @mbebenita committed Apr 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/avm2/compiler/inferrer.js
@@ -86,7 +86,7 @@ var Type = (function () {
};
type.prototype.isNumeric = function () {
- return this === Type.Int || this === Type.Number;
+ return this === Type.Int || this === Type.Uint || this === Type.Number;
};
type.prototype.isParameterizedType = function () {

0 comments on commit 0e25180

Please sign in to comment.