Skip to content

Commit

Permalink
Update existing baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbranch committed Apr 26, 2019
1 parent 0eb2862 commit 67a9029
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/baselines/reference/convertKeywordsYes.errors.txt
@@ -1,3 +1,4 @@
tests/cases/compiler/convertKeywordsYes.ts(175,12): error TS18006: Classes may not have a field named 'constructor'.
tests/cases/compiler/convertKeywordsYes.ts(292,11): error TS1213: Identifier expected. 'implements' is a reserved word in strict mode. Class definitions are automatically in strict mode.
tests/cases/compiler/convertKeywordsYes.ts(293,11): error TS1213: Identifier expected. 'interface' is a reserved word in strict mode. Class definitions are automatically in strict mode.
tests/cases/compiler/convertKeywordsYes.ts(294,11): error TS1213: Identifier expected. 'let' is a reserved word in strict mode. Class definitions are automatically in strict mode.
Expand All @@ -9,7 +10,7 @@ tests/cases/compiler/convertKeywordsYes.ts(301,11): error TS1213: Identifier exp
tests/cases/compiler/convertKeywordsYes.ts(303,11): error TS1213: Identifier expected. 'yield' is a reserved word in strict mode. Class definitions are automatically in strict mode.


==== tests/cases/compiler/convertKeywordsYes.ts (9 errors) ====
==== tests/cases/compiler/convertKeywordsYes.ts (10 errors) ====
// reserved ES5 future in strict mode

var constructor = 0;
Expand Down Expand Up @@ -185,6 +186,8 @@ tests/cases/compiler/convertKeywordsYes.ts(303,11): error TS1213: Identifier exp

class bigClass {
public "constructor" = 0;
~~~~~~~~~~~~~
!!! error TS18006: Classes may not have a field named 'constructor'.
public any = 0;
public boolean = 0;
public implements = 0;
Expand Down

0 comments on commit 67a9029

Please sign in to comment.