//// [namedFunctionExpressionAssignedToClassProperty.ts]
class Foo{

       a = function bar(){

       }; // this shouldn't crash the compiler...

       

       constructor(){

       }

}


//// [namedFunctionExpressionAssignedToClassProperty.js]
var Foo = (function () {
    function Foo() {
        this.a = function bar() {
        }; // this shouldn't crash the compiler...
    }
    return Foo;
})();
