Skip to content

Commit

Permalink
Add test for babel/babel#12061
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Oct 15, 2020
1 parent cf0ed63 commit 2e42f06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -10,13 +10,16 @@ class c3 {
constructor(public arg: number = 10) {
// fails because of comment
}
not_constructor(public arg: number = 10) {
}
}
=====================================output=====================================
class c3 {
constructor(public arg: number = 10) {
// fails because of comment
}
not_constructor(public arg: number = 10) {}
}
================================================================================
Expand Down
Expand Up @@ -2,4 +2,6 @@ class c3 {
constructor(public arg: number = 10) {
// fails because of comment
}
not_constructor(public arg: number = 10) {
}
}

0 comments on commit 2e42f06

Please sign in to comment.