@@ -390,9 +390,9 @@ export namespace OperatorKind {
390390 case Token . GreaterThan_GreaterThan_Equals : return OperatorKind . BitwiseShr ;
391391 case Token . GreaterThan_GreaterThan_GreaterThan :
392392 case Token . GreaterThan_GreaterThan_GreaterThan_Equals : return OperatorKind . BitwiseShrU ;
393- case Token . Equals_Equals :
393+ case Token . Equals_Equals :
394394 case Token . Equals_Equals_Equals : return OperatorKind . Eq ;
395- case Token . Exclamation_Equals :
395+ case Token . Exclamation_Equals :
396396 case Token . Exclamation_Equals_Equals : return OperatorKind . Ne ;
397397 case Token . GreaterThan : return OperatorKind . Gt ;
398398 case Token . GreaterThan_Equals : return OperatorKind . Ge ;
@@ -436,7 +436,7 @@ export class Program extends DiagnosticEmitter {
436436 diagnostics : DiagnosticMessage [ ] | null = null
437437 ) {
438438 super ( diagnostics ) ;
439- this . module = Module . create ( options . stackSize > 0 , options . sizeTypeRef ) ;
439+ this . module = Module . create ( options . stackSize > 0 , options . sizeTypeRef ) ;
440440 this . parser = new Parser ( this . diagnostics , this . sources ) ;
441441 this . resolver = new Resolver ( this ) ;
442442 let nativeFile = new File ( this , Source . native ) ;
@@ -1085,7 +1085,7 @@ export class Program extends DiagnosticEmitter {
10851085 this . registerConstantInteger ( CommonNames . ASC_FEATURE_EXTENDED_CONST , Type . bool ,
10861086 i64_new ( options . hasFeature ( Feature . ExtendedConst ) ? 1 : 0 , 0 ) ) ;
10871087 this . registerConstantInteger ( CommonNames . ASC_FEATURE_STRINGREF , Type . bool ,
1088- i64_new ( options . hasFeature ( Feature . Stringref ) ? 1 : 0 , 0 ) ) ;
1088+ i64_new ( options . hasFeature ( Feature . Strings ) ? 1 : 0 , 0 ) ) ;
10891089
10901090 // remember deferred elements
10911091 let queuedImports = new Array < QueuedImport > ( ) ;
@@ -1300,7 +1300,7 @@ export class Program extends DiagnosticEmitter {
13001300 this . registerWrapperClass ( Type . array , CommonNames . RefArray ) ;
13011301 this . registerWrapperClass ( Type . i31 , CommonNames . RefI31 ) ;
13021302 }
1303- if ( options . hasFeature ( Feature . Stringref ) ) {
1303+ if ( options . hasFeature ( Feature . Strings ) ) {
13041304 this . registerWrapperClass ( Type . string , CommonNames . RefString ) ;
13051305 }
13061306 }
@@ -1974,7 +1974,7 @@ export class Program extends DiagnosticEmitter {
19741974 case TypeKind . StringviewWTF16 :
19751975 case TypeKind . StringviewIter : {
19761976 return this . checkFeatureEnabled ( Feature . ReferenceTypes , reportNode )
1977- && this . checkFeatureEnabled ( Feature . Stringref , reportNode ) ;
1977+ && this . checkFeatureEnabled ( Feature . Strings , reportNode ) ;
19781978 }
19791979 }
19801980 let classReference = type . getClass ( ) ;
0 commit comments