This commit is contained in:
Daniel Rosenwasser committed 2015-05-01 18:40:58 -07:00
1 parent 9460fb580d
commit d5c9857e60
1 file changed
+1 -1
+1 -1
View File
@@ -848,7 +848,7 @@ module ts {
// Overwrite the last declaration if it was an overload
// and this one is an implementation.
if (functionDeclaration.body && !(<FunctionLikeDeclaration>lastDeclaration).body) {
lastOrUndefined(declarations) = functionDeclaration;
declarations[declarations.length - 1] = functionDeclaration;
}
}
else {