Repository navigation
fix(extractor): preserve exact literal coercion - #786
Merged
Merged
Conversation
Refs #686 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #686 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #686 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #686 (W69가 재현한 리터럴 문자열 키 및 단항 숫자 변환 오류의 후속 수정).
main의a26bb579를 실제 두 부모 merge로 반영한 브랜치입니다. #785는 이미 main에 병합되어 선행 PR 의존성은 없습니다.요약
05와5,0.50과0.5가 정적 객체 조회와 생성된 유한 클래스 맵에서 충돌하지 않습니다.+/-는 JavaScript와 일치함이 증명되는 숫자만 정적으로 처리합니다. Rust 전용inf/잘못된 대소문자 Infinity 별칭은 잘못된 Infinity가 아니라 NaN이며, 증명하지 못하는 입력은 원래 식을 기존 보수적 경로에 남깁니다.Patch입니다.동작
각각 상태를 초기화한 공개 WASM 프로브의 실제 per-file CSS 결과입니다. 클래스명은 추출 상태에 따라 바뀝니다.
guard/after실행 순서를 보존합니다. 네 기존 테스트의 유한/정적 표시자만 정확해진 정적 클래스 경로에 맞췄으며, 색·NaN·부작용 기대값은 바꾸지 않았습니다.0.50은.5, Devup padding 문자열05는20px입니다. 배열 비정규 인덱스, 미확정 coercion, 메타데이터 및 selector cascade 정책을 넓히지 않습니다.새로 생기는 오류
새 오류 종류나 형식을 추가하지 않습니다. 정확한 숫자 변환을 증명하지 못한 값은 기존 요소의 CSS 변수 경로를 사용하고, 값을 소유할 요소가 없는 독립 스타일에서는 기존 위치가 있는 빌드 오류 경로를 유지합니다. 효과가 있는 식을 빌드 때 임의 실행하거나 삭제하지 않습니다.
남는 한계
검증
CARGO_BUILD_JOBS=2. fmt 및 strict clippy 통과. 변경하지 않은 main TypeScript의 기존 ESLint 경고 20개 외 추가 경고 없음.verify:dist통과. 실제 공개 WASM + React SSR 118/118 통과(리터럴/변환 64, StyleX/styled 42, 동일한 낮춰진 const 12), 두 CSS 모드 및 반복 추출 결정론 확인.--fail-under 100은 **100.00%(13,566/13,566)**로 통과했습니다.원격 CI 성공: 39115332104, head
60ae848546b7a91d3a2611d372f79a79ef2f93dd. Linux Rust 100.00%(13,566/13,566), Bun 6,032 통과/0 실패, 함수/라인 100%, Bun preload race 별도 회귀 9/9 통과입니다.publish,landing-next-e2e,react-18,vinext-rsc-css-e2e,benchmark다섯 검증 작업이 모두 성공했습니다. 배포/릴리스 작업은 PR 실행 정책대로 skip이며 PR은 ready/CLEAN 상태입니다.