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

Can not find out root: doc.type.boolean #1107

Closed
Nexela opened this issue Apr 30, 2022 · 0 comments
Closed

Can not find out root: doc.type.boolean #1107

Nexela opened this issue Apr 30, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Nexela
Copy link
Contributor

Nexela commented Apr 30, 2022

Describe the bug
A clear and concise description of what the bug is.

file_home_nexela_Media_Develop_Lua_Factorio_PickerAtheneum.log

Occurs when hovering over friendly_force in either of these lines

local deconstruct = friendly_force and ghost.to_be_deconstructed()
local upgrade = friendly_force and ghost.to_be_upgraded()

image

Can not find out root: doc.type.boolean
stack traceback:
script/parser/guide.lua:409: in function 'parser.guide.getRoot'
script/parser/guide.lua:423: in function 'parser.guide.getUri'
script/vm/def.lua:229: in upvalue 'searchByNode'
script/vm/def.lua:267: in function 'vm.vm.getDefs'
script/core/hover/description.lua:129: in upvalue 'tryDocClassComment'
script/core/hover/description.lua:364: in function 'core.hover.description'
script/core/hover/init.lua:33: in local 'addHover'
script/core/hover/init.lua:86: in function 'core.hover.get'
script/core/hover/init.lua:120: in function 'core.hover.byUri'
script/provider/provider.lua:312: in function <script/provider/provider.lua:291>
[C]: in function 'xpcall'
script/proto/proto.lua:184: in function <script/proto/proto.lua:159>

@sumneko sumneko added the bug Something isn't working label Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants