Skip to content

Blind accept changed baselines to check progress #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: nodebuilder
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ export function bar();

=== a.ts ===
import { default as Foo } from "./b";
>default : typeof import("b")
>Foo : typeof import("b")
>default : typeof Foo
>Foo : typeof Foo

Foo.bar();
>Foo.bar() : any
>Foo.bar : () => any
>Foo : typeof import("b")
>Foo : typeof Foo
>bar : () => any

Foo.foo();
>Foo.foo() : any
>Foo.foo : () => any
>Foo : typeof import("b")
>Foo : typeof Foo
>foo : () => any

Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ duplicateIdentifierChecks.ts(140,9): error TS2300: Duplicate identifier 'x'.
duplicateIdentifierChecks.ts(146,9): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(147,5): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(148,9): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(152,9): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(153,5): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(154,9): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(158,9): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(159,9): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(160,9): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(152,9): error TS2300: Duplicate identifier '[foo]'.
duplicateIdentifierChecks.ts(153,5): error TS2300: Duplicate identifier '[foo]'.
duplicateIdentifierChecks.ts(154,9): error TS2300: Duplicate identifier '[foo]'.
duplicateIdentifierChecks.ts(158,9): error TS2300: Duplicate identifier '[foo]'.
duplicateIdentifierChecks.ts(159,9): error TS2300: Duplicate identifier '[foo]'.
duplicateIdentifierChecks.ts(160,9): error TS2300: Duplicate identifier '[foo]'.
duplicateIdentifierChecks.ts(164,5): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(165,5): error TS2300: Duplicate identifier 'foo'.
duplicateIdentifierChecks.ts(169,5): error TS2300: Duplicate identifier 'foo'.
Expand Down Expand Up @@ -420,33 +420,33 @@ duplicateIdentifierChecks.ts(209,9): error TS2300: Duplicate identifier '[sym]'.
interface I11 {
get [foo](): number;
~~~~~
!!! error TS2300: Duplicate identifier 'foo'.
!!! related TS6203 duplicateIdentifierChecks.ts:153:5: 'foo' was also declared here.
!!! error TS2300: Duplicate identifier '[foo]'.
!!! related TS6203 duplicateIdentifierChecks.ts:153:5: '[foo]' was also declared here.
foo: number;
~~~
!!! error TS2300: Duplicate identifier 'foo'.
!!! related TS6203 duplicateIdentifierChecks.ts:152:9: 'foo' was also declared here.
!!! error TS2300: Duplicate identifier '[foo]'.
!!! related TS6203 duplicateIdentifierChecks.ts:152:9: '[foo]' was also declared here.
!!! related TS6204 duplicateIdentifierChecks.ts:154:9: and here.
set [foo](value: number);
~~~~~
!!! error TS2300: Duplicate identifier 'foo'.
!!! related TS6203 duplicateIdentifierChecks.ts:153:5: 'foo' was also declared here.
!!! error TS2300: Duplicate identifier '[foo]'.
!!! related TS6203 duplicateIdentifierChecks.ts:153:5: '[foo]' was also declared here.
}

interface I12 {
get foo(): number;
~~~
!!! error TS2300: Duplicate identifier 'foo'.
!!! related TS6203 duplicateIdentifierChecks.ts:159:9: 'foo' was also declared here.
!!! error TS2300: Duplicate identifier '[foo]'.
!!! related TS6203 duplicateIdentifierChecks.ts:159:9: '[foo]' was also declared here.
set [foo](value: number);
~~~~~
!!! error TS2300: Duplicate identifier 'foo'.
!!! related TS6203 duplicateIdentifierChecks.ts:158:9: 'foo' was also declared here.
!!! error TS2300: Duplicate identifier '[foo]'.
!!! related TS6203 duplicateIdentifierChecks.ts:158:9: '[foo]' was also declared here.
!!! related TS6204 duplicateIdentifierChecks.ts:160:9: and here.
set foo(value: number);
~~~
!!! error TS2300: Duplicate identifier 'foo'.
!!! related TS6203 duplicateIdentifierChecks.ts:159:9: 'foo' was also declared here.
!!! error TS2300: Duplicate identifier '[foo]'.
!!! related TS6203 duplicateIdentifierChecks.ts:159:9: '[foo]' was also declared here.
}

interface I13 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,15 +337,15 @@ interface I10 {
>I10 : Symbol(I10, Decl(duplicateIdentifierChecks.ts, 142, 17))

get [foo](): number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 144, 15))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 144, 15))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))

[foo]: number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 145, 24))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 145, 24))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))

set [foo](value: number);
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 146, 18))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 146, 18))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 147, 14))
}
Expand All @@ -354,14 +354,14 @@ interface I11 {
>I11 : Symbol(I11, Decl(duplicateIdentifierChecks.ts, 148, 1))

get [foo](): number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 150, 15), Decl(duplicateIdentifierChecks.ts, 152, 16))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 150, 15), Decl(duplicateIdentifierChecks.ts, 152, 16))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))

foo: number;
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 151, 24))

set [foo](value: number);
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 150, 15), Decl(duplicateIdentifierChecks.ts, 152, 16))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 150, 15), Decl(duplicateIdentifierChecks.ts, 152, 16))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 153, 14))
}
Expand All @@ -373,7 +373,7 @@ interface I12 {
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 156, 15), Decl(duplicateIdentifierChecks.ts, 158, 29))

set [foo](value: number);
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 157, 22))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 157, 22))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 158, 14))

Expand Down Expand Up @@ -426,15 +426,15 @@ declare class C10 {
>C10 : Symbol(C10, Decl(duplicateIdentifierChecks.ts, 177, 1))

get [foo](): number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 179, 19))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 179, 19))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))

[foo]: number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 180, 24))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 180, 24))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))

set [foo](value: number);
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 181, 18))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 181, 18))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 182, 14))
}
Expand All @@ -443,15 +443,15 @@ declare class C11 {
>C11 : Symbol(C11, Decl(duplicateIdentifierChecks.ts, 183, 1))

[foo]: number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 185, 19))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 185, 19))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))

get [foo](): number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 186, 18))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 186, 18))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))

set [foo](value: number);
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 187, 24))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 187, 24))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 188, 14))
}
Expand All @@ -460,16 +460,16 @@ declare class C12 {
>C12 : Symbol(C12, Decl(duplicateIdentifierChecks.ts, 189, 1))

get [foo](): number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 191, 19), Decl(duplicateIdentifierChecks.ts, 192, 24))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 191, 19), Decl(duplicateIdentifierChecks.ts, 192, 24))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))

set [foo](value: number);
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 191, 19), Decl(duplicateIdentifierChecks.ts, 192, 24))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 191, 19), Decl(duplicateIdentifierChecks.ts, 192, 24))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 193, 14))

[foo]: number;
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 193, 29))
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 193, 29))
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ const x: string = undefined;
//// [settingsSimpleTest.js]
const x = undefined;
export {};


//// [settingsSimpleTest.d.ts]
export {};
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ const x: string = undefined;
//// [settingsSimpleTest.js]
const x = undefined;
export {};


//// [settingsSimpleTest.d.ts]
export {};
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.CONTROLLER_CLASS = void 0;
const context_1 = require("@loopback/context");
exports.CONTROLLER_CLASS = context_1.BindingKey.create(null); // line in question


//// [application.d.ts]
import { Constructor } from "@loopback/context";
export type ControllerClass = Constructor<any>;
//// [usage.d.ts]
import { ControllerClass } from './application';
import { BindingKey } from '@loopback/context';
export declare const CONTROLLER_CLASS: BindingKey<ControllerClass>; // line in question
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import { BindingKey } from '@loopback/context';
export const CONTROLLER_CLASS = BindingKey.create<ControllerClass>(null as any); // line in question
>CONTROLLER_CLASS : BindingKey<ControllerClass>
>BindingKey.create<ControllerClass>(null as any) : BindingKey<ControllerClass>
>BindingKey.create : <T extends Constructor<any>>(ctor: T) => BindingKey<T>
>BindingKey.create : <T extends import("../../context/index.js").Constructor<any>>(ctor: T) => BindingKey<T>
>BindingKey : typeof BindingKey
>create : <T extends Constructor<any>>(ctor: T) => BindingKey<T>
>create : <T extends import("../../context/index.js").Constructor<any>>(ctor: T) => BindingKey<T>
>null as any : any

=== /monorepo/context/src/value-promise.d.ts ===
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class C {
>C : Symbol(C, Decl(ClassDeclaration22.ts, 0, 0))

"foo"();
>"foo" : Symbol(foo, Decl(ClassDeclaration22.ts, 0, 9))
>"foo" : Symbol("foo", Decl(ClassDeclaration22.ts, 0, 9))

"bar"() { }
>"bar" : Symbol(bar, Decl(ClassDeclaration22.ts, 1, 12))
>"bar" : Symbol("bar", Decl(ClassDeclaration22.ts, 1, 12))
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

"foo"();
->"foo" : Symbol(C["foo"], Decl(ClassDeclaration22.ts, 0, 9))
+>"foo" : Symbol(foo, Decl(ClassDeclaration22.ts, 0, 9))
+>"foo" : Symbol("foo", Decl(ClassDeclaration22.ts, 0, 9))

"bar"() { }
->"bar" : Symbol(C["bar"], Decl(ClassDeclaration22.ts, 1, 12))
+>"bar" : Symbol(bar, Decl(ClassDeclaration22.ts, 1, 12))
+>"bar" : Symbol("bar", Decl(ClassDeclaration22.ts, 1, 12))
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@ export interface I {
//// [DeclarationErrorsNoEmitOnError.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });


//// [DeclarationErrorsNoEmitOnError.d.ts]
type T = {
x: number;
};
export interface I {
f: T;
}
export {};

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ export class Q {
export class Q {
set bet(arg) { }
}


//// [accessorDeclarationEmitVisibilityErrors.d.ts]
export declare class Q {
set bet(arg: DoesNotExist);
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ exports.basePrototype = {
return _this.collection.schema.primaryPath;
},
};


//// [accessorInferredReturnTypeErrorInReturnStatement.d.ts]
export declare var basePrototype: {
readonly primaryPath: any;
};

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export var basePrototype = {

var _this = this;
>_this : Symbol(_this, Decl(accessorInferredReturnTypeErrorInReturnStatement.ts, 2, 7))
>this : Symbol((Anonymous type), Decl(accessorInferredReturnTypeErrorInReturnStatement.ts, 0, 26))
>this : Symbol(basePrototype, Decl(accessorInferredReturnTypeErrorInReturnStatement.ts, 0, 26))

return _this.collection.schema.primaryPath;
>_this : Symbol(_this, Decl(accessorInferredReturnTypeErrorInReturnStatement.ts, 2, 7))
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

=== aliasAssignments_1.ts ===
import moduleA = require("./aliasAssignments_moduleA");
>moduleA : typeof import("aliasAssignments_moduleA")
>moduleA : typeof moduleA

var x = moduleA;
>x : typeof import("aliasAssignments_moduleA")
>moduleA : typeof import("aliasAssignments_moduleA")
>x : typeof moduleA
>moduleA : typeof moduleA

x = 1; // Should be error
>x = 1 : 1
>x : typeof import("aliasAssignments_moduleA")
>x : typeof moduleA
>1 : 1

var y = 1;
>y : number
>1 : 1

y = moduleA; // should be error
>y = moduleA : typeof import("aliasAssignments_moduleA")
>y = moduleA : typeof moduleA
>y : number
>moduleA : typeof import("aliasAssignments_moduleA")
>moduleA : typeof moduleA

=== aliasAssignments_moduleA.ts ===
export class someClass {
Expand Down
Loading