Skip to content

Conversation

@naserca
Copy link

@naserca naserca commented Sep 29, 2025

In the v1.19 branch (specifically) of elixir-lang, these chars cause a SyntaxError:

== Compilation error in file lib/faker/string.ex ==
** (SyntaxError) invalid syntax found on lib/faker/string.ex:217:16:
     error: invalid line break character in string: \u2029. If you want to use such character, use it in its escaped \u2029 form instead
     │
 217 │     "\u2029test
",
     │                ^
     │
     └─ lib/faker/string.ex:217:16
    (elixir 1.19.0-rc.0) lib/kernel/parallel_compiler.ex:480: anonymous fn/5 in Kernel.ParallelCompiler.spawn_workers/8

This PR escapes them without other changes.

seantanly added a commit to yojee/faker that referenced this pull request Oct 20, 2025
zekedou added a commit to ever-forge/fake that referenced this pull request Oct 22, 2025
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 this pull request may close these issues.

1 participant