Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
commit: |
This branch was successfully deployed
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.
A module can use a value it only declares, such as
declare function send(message: string): void;ordeclare const invariant: ..., and expect the page or another script to provide it. The verifier's browser page has no such global. A component that read one during render never mounted, and a handler that called one threw before it reached its setter.SendButtoninguarded-handlers.tsxreported a counterexample against a model that was right, and 11 other repros failed to mount with errors likeuseTheme is not defined.The verifier now collects the names a module declares ambiently:
declare functiondeclare const,letandvardeclare classdeclare global {}For each name, it assigns the stand-in the harness already uses for server-only packages, unless that global already exists. The assignment lives in a virtual module imported at the end of the file, so the coverage counters' offsets don't move. Function overloads and type-only declarations get no stand-in.
Results
conformance verifyonconformance-repros,realizeagainst this branch:realizeSendButtonThemeBadgeDeclaredStoreSignUpSuggestionEditorInvariantCountInvariantLengthUsageLinkUnknownSpreadSubscribedHelperConfiguredLabelDerivedMemological-assignments.tsxcomponents. fix(conformance): count the target of a logical assignment without wrapping it #636 fixes them.SharedSubtreeBlowup, unchanged.IgnoreFlagandFetchedItems. They now mount far enough to call.thenon the stand-in, so they fail asmissing-datainstead ofother.TwoFactorloses its error branch. Onrealize,await verify(...)threw a ReferenceError inside itstry, and thecatchcovered that branch by accident. It still verifies with no counterexamples.AvatarandLogoRow, whose verdicts vary from run to run.react-testsverdicts are identical.ambient-globals.test.tscovers name collection, overloads and the generated module.