@@ -42,7 +42,7 @@ function f4 (foo, bar = foo) {
42
42
>f4 : Symbol(f4, Decl(parameterInitializersForwardReferencing1_es6.ts, 14, 1))
43
43
>foo : Symbol(foo, Decl(parameterInitializersForwardReferencing1_es6.ts, 16, 13))
44
44
>bar : Symbol(bar, Decl(parameterInitializersForwardReferencing1_es6.ts, 16, 17))
45
- >foo : Symbol(foo, Decl(parameterInitializersForwardReferencing1_es6.ts, 0, 3 ))
45
+ >foo : Symbol(foo, Decl(parameterInitializersForwardReferencing1_es6.ts, 16, 13 ))
46
46
47
47
return bar
48
48
>bar : Symbol(bar, Decl(parameterInitializersForwardReferencing1_es6.ts, 16, 17))
@@ -84,3 +84,9 @@ class Foo {
84
84
>x : Symbol(x, Decl(parameterInitializersForwardReferencing1_es6.ts, 33, 16))
85
85
}
86
86
87
+ function f8(foo1: string, bar = foo1) { }
88
+ >f8 : Symbol(f8, Decl(parameterInitializersForwardReferencing1_es6.ts, 34, 1))
89
+ >foo1 : Symbol(foo1, Decl(parameterInitializersForwardReferencing1_es6.ts, 36, 12))
90
+ >bar : Symbol(bar, Decl(parameterInitializersForwardReferencing1_es6.ts, 36, 25))
91
+ >foo1 : Symbol(foo1, Decl(parameterInitializersForwardReferencing1_es6.ts, 36, 12))
92
+
0 commit comments