TypeError in magic-string when transforming class A{}

https://buble.surge.sh/#class%20A{}

class A{}

If there is no space between the class name and the open brace, a TypeError ("TypeError: Cannot read property 'edit' of null") inside magic-string is thrown. If the space is added, this transpiles fine.