-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
It seems that a nested color affects a sibling color when a color is applied to both strings up a level.
('aaa' + 'bbb'.magenta).red
leads to aaa in red and bbb in magenta, but when doing:
('aaa'.white + 'bbb'.magenta).red
the white bleeds into bbb (making it pink) for no apparent reason:
repro:
$ node
> console.log(('aaa'.white + 'aaa'.magenta).red)
> console.log(('aaa'.white + 'aaa'.magenta))
> console.log(('aaa' + 'aaa'.magenta).red)
version: 1.1.92
Metadata
Metadata
Assignees
Labels
No labels
