File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -763,7 +763,7 @@ module TypeScript {
763
763
764
764
var start = new Date ( ) . getTime ( ) ;
765
765
var accessors = PullHelpers . getGetterAndSetterFunction ( funcDecl , this . semanticInfoChain ) ;
766
- TypeScript . declarationEmitGetAccessorFunctionTime += new Date ( ) . getTime ( ) ;
766
+ TypeScript . declarationEmitGetAccessorFunctionTime += new Date ( ) . getTime ( ) - start ;
767
767
768
768
var comments : Comment [ ] = [ ] ;
769
769
if ( accessors . getter ) {
@@ -787,7 +787,7 @@ module TypeScript {
787
787
private emitMemberAccessorDeclaration ( funcDecl : ISyntaxElement , modifiers : ISyntaxToken [ ] , name : ISyntaxToken ) {
788
788
var start = new Date ( ) . getTime ( ) ;
789
789
var accessorSymbol = PullHelpers . getAccessorSymbol ( funcDecl , this . semanticInfoChain ) ;
790
- TypeScript . declarationEmitGetAccessorFunctionTime += new Date ( ) . getTime ( ) ;
790
+ TypeScript . declarationEmitGetAccessorFunctionTime += new Date ( ) . getTime ( ) - start ;
791
791
792
792
if ( funcDecl . kind ( ) === SyntaxKind . SetAccessor && accessorSymbol . getGetter ( ) ) {
793
793
// Setter is being used to emit the type info.
You can’t perform that action at this time.
0 commit comments