// Code generated by convertFourslash; DO NOT EDIT. // To modify this test, run "npm run makemanual navigationBarItemsSymbols4" package fourslash_test import ( "testing" "github.com/microsoft/typescript-go/internal/fourslash" "github.com/microsoft/typescript-go/internal/testutil" ) func TestNavigationBarItemsSymbols4(t *testing.T) { fourslash.SkipIfFailing(t) t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `// @checkJs: true // @allowJs: true // @target: es6 // @Filename: file.js const _sym = Symbol("_sym"); class MyClass { constructor() { // Dynamic assignment properties can't show up in navigation, // as they're not syntactic members // Additonally, late bound members are always filtered out, besides this[_sym] = "ok"; } method() { this[_sym] = "yep"; const x = this[_sym]; } }` f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content) defer done() f.VerifyBaselineDocumentSymbol(t) }