Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor.lua in Release 1.9.6 is broken #7

Closed
elMuso opened this issue Dec 19, 2024 · 1 comment
Closed

editor.lua in Release 1.9.6 is broken #7

elMuso opened this issue Dec 19, 2024 · 1 comment

Comments

@elMuso
Copy link

elMuso commented Dec 19, 2024

image

The new editor api currently stops compilation.

Compiles if lines 169-170 and 200 are changed from this

--Line 169
---@param ...commands string|nil bob commands, e.g. "resolve" or "build"
function editor.bob(options, ...commands) end
--Line 200
function editor.execute(command, ..., options) end

to this:

--Line 169
---@param ... string|nil bob commands, e.g. "resolve" or "build"
function editor.bob(options, ...) end
--Line 200
function editor.execute(command, options, ...) end

It compiles with the warnings of undefined.

astrochili added a commit that referenced this issue Dec 20, 2024
astrochili added a commit that referenced this issue Dec 20, 2024
@astrochili
Copy link
Owner

Thanks! Many things to patch I see.

Fixed! Just fetch the annotations again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants