EpicSkookumScript / EpicSkookumScript/SkookumScript-Plugin

List _do shows syntax error for Object types

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug SkookumIDE
Dominant language
C++
Stars
138
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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

The code compiles fine, but if highlighted shows the error:

The method 'actor_location()' does not exist for an instance of the class 'Object'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported case in UE4 4.23.1 using a List whose item type derives from Object and invoke _do on actor_location(). Then trace the IDE's syntax diagnostic for the reported Object method error; done means the valid method no longer receives a red squiggle while the code continues to compile.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, unreal-engine
Domain
devtools, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.