Skip to content

[Bug] The CSSVar stop works when some variable name is enough big #116

Open
@LeandroMoura3

Description

@LeandroMoura3

Describe the bug
When a css variable is too long, a exception of CSSVar Complete is throw: Populating Variable Values: RangeError: Maximum call stack size exceeded.

To Reproduce
Add this css variable in any .css file that was watched by CSSVar:

:root { --rp-color--button-secondary-background-disabled: var( --rp-color--neutral-100 ); --rp-color--neutral-100: #ffffff; }

Expected behavior
The exception don't happens and the CSSVar Complete still run.

Details (please complete the following information):
CSS Var Complete
v2.6.4

Version: 1.86.1 (user setup)
Commit: 31c37ee8f63491495ac49e43b8544550fbae4533
Date: 2024-02-07T09:08:20.941Z
Electron: 27.2.3
ElectronBuildId: 26495564
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions