Skip to content

Conversation

@nevkontakte
Copy link
Member

This allows sourcemap to be generated for top-level variable
declarations with initializer, for example:

var x = initX() // Might panic.

This is particularly helpful when debugging panics in such initializers.

This allows sourcemap to be generated for top-level variable
declarations with initializer, for example:

```go
var x = initX()
```

This is particularly helpful when debugging panics in such initializers.
@nevkontakte nevkontakte requested a review from flimzy October 2, 2021 14:24
@nevkontakte nevkontakte enabled auto-merge October 2, 2021 14:24
@nevkontakte nevkontakte merged commit 51d3295 into gopherjs:master Oct 2, 2021
@nevkontakte
Copy link
Member Author

Eh, apparently auto-merge doesn't await to a review if requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant