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

Using with_prototype in syntax causes infinite recursion on Linux #6610

Open
nwoltman opened this issue Jan 30, 2025 · 1 comment
Open

Using with_prototype in syntax causes infinite recursion on Linux #6610

nwoltman opened this issue Jan 30, 2025 · 1 comment

Comments

@nwoltman
Copy link

Description of the bug

I am the creator of the EJS 2 syntax. The syntax definition I created for EJS uses with_prototype to embed JS into HTML. As of ST version 4186, the syntax definition can no longer load only on Linux due to an "Apparent recursion within a with_prototype action".

Steps to reproduce

  1. Using Ubuntu (or other Linux distro I assume, I only tried Ubuntu), install ST from scratch
  2. Install Package Control
  3. Install EJS 2 package
  4. Open a file and try to set the syntax to EJS 2 -> (any in the list)

Expected behavior

No error should occur and the syntax should work just like it does on Windows and MacOS

Actual behavior

The following error happens:

image

Sublime Text build number

4192

Operating system & version

Ubuntu 24.10

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information


@TerminalFi
Copy link

I think the most correct way is to now use extends.

#6555

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