You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble converting from HashMap<AnyHashableLuaValue, AnyLuaValue> to AnyLuaValue::LuaArray due to this. Since the first element is the key, I think AnyHashableLuaValue is the correct way to go here.
Thanks!
The text was updated successfully, but these errors were encountered:
This wouldn't be correct, as lua tables can have floating-point keys, which are not hashable, so it would be incorrect to disallow AnyLuaValue from representing this. The correct solution, I think, would be to have impl From<AnyHashableLuaValue> for AnyLuaValue.
tpdickso
pushed a commit
to tpdickso/hlua
that referenced
this issue
Jul 31, 2018
I'm having trouble converting from
HashMap<AnyHashableLuaValue, AnyLuaValue>
toAnyLuaValue::LuaArray
due to this. Since the first element is the key, I thinkAnyHashableLuaValue
is the correct way to go here.Thanks!
The text was updated successfully, but these errors were encountered: