Closed eed3si9n closed 3 months ago
@psarna wrote in #404:
Without proper alignment, UBSAN will cause the program to fail at runtime with "illegal instruction" signal.
This cherry picks scanner change https://github.com/tree-sitter/tree-sitter-scala/commit/2c5c1d2f86ad9ba9e0604174c9cf06334f54b7fe from https://github.com/tree-sitter/tree-sitter-scala/pull/398.
thank you for cherry picking my work @eed3si9n, I intended to make it easier to review/split it up, but didn't have time. and thanks for the NPM release too!
Problem
@psarna wrote in #404:
Solution
This cherry picks scanner change https://github.com/tree-sitter/tree-sitter-scala/commit/2c5c1d2f86ad9ba9e0604174c9cf06334f54b7fe from https://github.com/tree-sitter/tree-sitter-scala/pull/398.