We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I'm getting the error Cannot read property 'end' of null when using the {:then} without a variable.
Cannot read property 'end' of null
To Reproduce
<script> let promise; </script> {#await promise} Loading... {:then} Loaded! {/await}
Expected behavior No error.
Screenshots
Additional context Output:
Error walking node { start: 35, end: 83, type: 'AwaitBlock', expression: Node { type: 'Identifier', start: 43, end: 50, loc: SourceLocation { start: [Position], end: [Position] }, name: 'promise' }, value: null, error: null, pending: { start: 51, end: 61, type: 'PendingBlock', children: [ [Object] ], skip: false }, then: { start: 61, end: 75, type: 'ThenBlock', children: [ [Object] ], skip: false }, catch: { start: null, end: null, type: 'CatchBlock', children: [], skip: true } }
The text was updated successfully, but these errors were encountered:
nice one. i put out a request for first time contributors as this is a good first issue. happy to help whoever tries to tackle this.
Sorry, something went wrong.
Hey there 👋 I've started looking into this and have raised a pull request #189.
Thanks @skippednote ! Fix should be available in about 12 hours.
No branches or pull requests
Describe the bug
I'm getting the error
Cannot read property 'end' of null
when using the {:then} without a variable.To Reproduce
Expected behavior
No error.
Screenshots
Additional context
Output:
The text was updated successfully, but these errors were encountered: