Skip to content

Conversation

@stof
Copy link
Member

@stof stof commented Aug 16, 2024

Closes #193
Relates to #145 (the future becomes close)

Closes #237
Closes #316
Closes #266
Closes #641 (when using the new Value API to build the values)

This migration resolves lots of spec compliance issues (which is the main reason for this rewrite, so that's good).

Closes #706
Closes #688
Closes #671
Closes #648
Closes #634
Closes #625
Closes #624
Closes #606
Closes #605
Closes #512
Closes #504
Closes #469
Closes #463
Closes #404
Closes #377
Closes #376
Closes #291
Closes #285
Closes #284
Closes #283
Closes #282
Closes #281
Closes #280
Closes #279
Closes #247
Closes #220
Closes #157
Closes #147
Closes #146

@stof stof added this to the 2.0 milestone Aug 16, 2024
@stof stof force-pushed the compiler branch 4 times, most recently from afe7238 to b0fe0df Compare August 17, 2024 14:19
@stof stof mentioned this pull request Aug 17, 2024
@stof stof force-pushed the compiler branch 4 times, most recently from f3cb7ae to 3a015de Compare August 18, 2024 21:21
@stof stof force-pushed the compiler branch 4 times, most recently from 2a90b41 to 812bc2b Compare September 13, 2024 22:42
stof added 12 commits September 14, 2024 01:05
This is not supported anymore.
This hardcodes a string using the legacy value representation instead of
using the ValueConverter to produce it, because the ValueConverter will
be updated to return the modern representation instead.
This allows to have an output matching the dart-sass logger exactly.
The AdaptingLogger cannot achieve it due to the handling of the
semi-colon after the warning prefix, which does not match the legacy
logger when a location is available.
The expected outputs are now valid also for dart-sass.
Throwing a SassScriptException is wrong as those APIs are not used in an
expression context where those exceptions are turned into SassException.
- Skip sass-spec tests which are ignored for dart-sass
- Remove the input parsing in SassSpecTest
- Normalize output like the official spec runner
- Remove the code allowing quote differences as we now match the
  upstream formatting for strings.
- Configure the current working directory as done in the official spec
  runner when running tests.
We know run the original tests when running sass-spec as we don't have a
difference in the formatting of the output anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment