Skip to content

No Error for use before def in property initializer #18352

@mhegazy

Description

@mhegazy

Seems #17910 broke one of our RWC tests (see Azure_FrameworkTests.errors).

here is the jest:

	export class C {
		public a =  {
			b: this._b // No Error here for use before declaration.
		};

		private _b = "";
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions