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

Weird output in interpreter example, erlang binary being split? #2

Open
lawik opened this issue Feb 8, 2020 · 1 comment
Open

Weird output in interpreter example, erlang binary being split? #2

lawik opened this issue Feb 8, 2020 · 1 comment

Comments

@lawik
Copy link
Contributor

lawik commented Feb 8, 2020

Based on the interpreter-in-browser example.

Given this:

    'Elixir.Lumen.Web.Document':create_text_node(_document@1,
                             <<"This new text was created through Elixir in your browser. Which we all know is great. And glorious. And strange. And fine. And what is that? Oh my god! I'm writing long text!">>),

I can create the correct text.

Given this, by my formatter:

'Elixir.Lumen.Web.Document':create_text_node(_document@1,
                             <<"This new text was created through Elixir "
                               "in your browser. Which we all know is "
                               "great. And glorious. And strange. And "
                               "fine. And what is that? Oh my god! I'm "
                               "writing long text!">>),

I get a partial text which only includes the last two "lines". This:

fine. And what is that? Oh my god! I'm writing long text!

Am I missing something?

@KronicDeth
Copy link
Contributor

I was able to reproduce when prepping the demo for FOSDEM, but didn’t have time to look into it.

@bitwalker bitwalker transferred this issue from GetFirefly/firefly Aug 5, 2020
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