Coder Social home page Coder Social logo

Comments (2)

midnight-dev avatar midnight-dev commented on July 3, 2024

Assuming FindDLCDelegates is a global array, Remove is a method, not an argument. It looks like lexer is having trouble with the delegate, however, it may have glitched out on Find and AddItem instead. The IntelliSense shows AddItem with nothing passed into it. This could just be poorly generated documentation. "Unexpected argument" is a little ambiguous, but it can certainly mean it didn't expect an argument in the first place, even though adding and finding methods clearly need some input. Either way, you're right that this is malfunctioning. Fingers crossed it's not generic objects it's having trouble with, because those things are tricky enough as is.

What happens if you pass in a different variable there instead of InDelegate?

If you right-click > go to definition on the Remove and AddItem methods, is there any significant difference to them (for instance, missing / broken doc blocks or a missing @param remark in said doc block)?

from unrealscript-language-service.

Xymanek avatar Xymanek commented on July 3, 2024

The issue happens for all array contents types
image

Also for local arrays:
image
image

The Find method is also broken:
image

If you right-click > go to definition on the Remove and AddItem methods

Nothing happens (for all of them):
image

from unrealscript-language-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.