Fixes inferred type warning

This commit is contained in:
Viktor Lidholt
2015-10-26 16:38:14 -07:00
parent 9e8f901b04
commit ddd4ea81ec

View File

@@ -11,8 +11,8 @@ class _PhysicsCollisionGroups {
List<Object> getKeysForBitmask(int bitmask) {
List<Object> keys = [];
keyLookup.forEach((key, value) {
if (value & bitmask) {
keyLookup.forEach((Object key, int value) {
if (value & bitmask != null) {
keys.add(key);
}
});