LuaLS / LuaLS/lua-language-server
Class are both the correct class type and undefined
オープン
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 4.4k
- フォーク
- 442
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Linux
What is the issue affecting?
Type Checking
Expected Behaviour
IPv4Router should be a kind of Object.
Actual Behaviour
Reproduction steps
- Clone https://github.com/AR2000AR/openComputers_codes
- Install the definitions https://github.com/AR2000AR/opencomputers-openos-definitions to reduce the number of errors. Wireshark related files errors can be ignored (since there is not complete definitions for Wireshark available yet)
- Open
network/lib/network/ipv4/IPv4Layer.lua:108
Additional Notes
312 errors with 3.7.4
9 errors with 3.6.21
Log File
3.7.4 file_home_ar2000_Documents_Programmation_Lua_openComputers_codes.worktrees_lls-rework.log
3.6.21 file_home_ar2000_Documents_Programmation_Lua_openComputers_codes.worktrees_lls-rework.log
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
openComputers_codes リポジトリ、その opencomputers-openos-definitions、および network/lib/network/ipv4/IPv4Layer.lua:108 を使用して、報告を再現します。バージョン 3.7.4 と 3.6.21 の診断とログを比較し、IPv4Router がクラスであると同時に未定義になる原因となっている型チェックの動作を追跡します。再現で報告された誤った診断が生成されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100