/// <reference path="fourslash.ts"/>

////() => {
////    var foo = 0;
////    /*requestCompletion*/
////    foo./*memberCompletion*/toString;
////}/*editDeclaration*/

goTo.marker("requestCompletion");
verify.memberListContains("foo");

goTo.marker("memberCompletion");
verify.memberListContains("toExponential");

// Now change the decl by adding a semicolon
goTo.marker("editDeclaration");
edit.insert(";");

// foo should still be there
goTo.marker("requestCompletion");
verify.memberListContains("foo");

goTo.marker("memberCompletion");
verify.memberListContains("toExponential");
