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

STATIC ERROR: std.jsonnet:842:21-25: Truncated escape sequence in string literal. #561

Closed
tvi opened this issue Oct 8, 2018 · 2 comments
Labels

Comments

@tvi
Copy link

tvi commented Oct 8, 2018

> jsonnet fmt test.jsonnet
{
  person1: {
    name: 'Alice',
    welcome: 'Hello ' + self.name + '!',
  },
  person2: self.person1 { name: 'Bob' },
  test: 'test',
}
> jsonnet fmt --debug-desugaring test.jsonnet
STATIC ERROR: std.jsonnet:842:21-25: Truncated escape sequence in string literal.

Version:

==> Downloading https://homebrew.bintray.com/bottles/jsonnet-0.11.2.mojave.bottle.tar.gz
@sparkprime
Copy link
Contributor

I suspect --debug-desugaring has been broken for a while and nobody noticed because it's rarely used.

@sbarzowski sbarzowski added the bug label May 22, 2020
@johnbartholomew
Copy link
Collaborator

Thanks for the bug report! Debug desugaring has been fixed in #1132, and the example input provided in this issue now works.

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

No branches or pull requests

4 participants