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
fix: string indexing warnings and type conversion issues (#3)
* Fix all deprecation warnings and syntax lint issues
- Replace deprecated @hashmap.T with @hashmap.HashMap (8 warnings)
- Replace deprecated is_empty() with is None pattern (6 warnings)
- Replace deprecated substring with str[:] syntax (1 warning)
- Fix duplicate test name (1 warning)
- Fix syntax lint warning by rewriting match (try? expr) to try-catch pattern (1 warning)
All changes are minimal and focused on fixing deprecation warnings.
moon check now passes with 0 warnings, and all 70 tests pass.
Co-authored-by: openhands <openhands@all-hands.dev>
* AI work on: Try to eliminate all the warnings with minimal changes possible. The bottom line is that moon check works. It would be better if moon test works. The package may not need fix. In this case, do nothing. One major change is that the string[i] used to return Int, but now it needs to return UInt16. Try to fix it by using the correct type conversion.
* fix: make the code more idomatic
---------
Co-authored-by: openhands <openhands@all-hands.dev>
0 commit comments