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

Go to definition does not work in assert #128

Closed
Duologic opened this issue Sep 13, 2023 · 0 comments · Fixed by #146
Closed

Go to definition does not work in assert #128

Duologic opened this issue Sep 13, 2023 · 0 comments · Fixed by #146

Comments

@Duologic
Copy link
Member

Minor inconvenience, go to definition for neither var1 or var2 works:

{
  local var1 = false,
  var2: 'string',
  assert var1 : self.var2,
}

Related, jsonnet-lint thinks var1 is not used, reported in google/go-jsonnet#617

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

Successfully merging a pull request may close this issue.

1 participant