bublejs / bublejs/buble

Transpiled classes are not block-scoped

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
874
Forks
62
PR merge metrics
No merged PRs in 30d

Description

[reference](http://exploringjs.com/es6/ch_variables.html). Example:

```js
class C {}
var c1 = C;
{
class C {}
var c2 = C;
}
return C === c1;
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by turning the class example in the issue into a reproduction and compare the transpiled behavior with the linked ES6 block-scoping reference; done means the inner class does not replace the outer binding and the final comparison remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.