EpicSkookumScript / EpicSkookumScript/SkookumScript-Plugin

List _do shows syntax error for Object types

オープン
#23 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug SkookumIDE
主要言語
C++
スター
138
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

説明

**UE4 Version**
4.23.1

**SkookumScript Version**
4.23.1

**Describe the bug**
When using `_do` on a `List` where the item type derives from `Object`, the IDE shows a red syntax squiggle for methods that don't derive from the `Object` base class:
![image](https://user-images.githubusercontent.com/700435/70266535-85097200-1751-11ea-9f26-271878d523e4.png)

The code compiles fine, but if highlighted shows the error:
>`The method 'actor_location()' does not exist for an instance of the class 'Object'`

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

UE4 4.23.1 で、要素型が Object を継承する List を使って報告されたケースを再現し、actor_location() に対して _do を呼び出します。次に、報告された Object メソッドエラーに対する IDE の構文診断を追跡します。コードが引き続きコンパイルされる状態で、有効なメソッドに赤い波線が表示されなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp, unreal-engine
領域
devtools, game-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。