Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: src/messages.h

Issue 2614053002: Improve error message for calling super() twice in a derived constructor (Closed)
Patch Set: Merged Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The infrastructure used for (localized) message reporting in V8. 5 // The infrastructure used for (localized) message reporting in V8.
6 // 6 //
7 // Note: there's a big unresolved issue about ownership of the data 7 // Note: there's a big unresolved issue about ownership of the data
8 // structures used by this framework. 8 // structures used by this framework.
9 9
10 #ifndef V8_MESSAGES_H_ 10 #ifndef V8_MESSAGES_H_
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 T(SimdToNumber, "Cannot convert a SIMD value to a number") \ 479 T(SimdToNumber, "Cannot convert a SIMD value to a number") \
480 T(ThrowMethodMissing, "The iterator does not provide a 'throw' method.") \ 480 T(ThrowMethodMissing, "The iterator does not provide a 'throw' method.") \
481 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ 481 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \
482 T(ValueAndAccessor, \ 482 T(ValueAndAccessor, \
483 "Invalid property descriptor. Cannot both specify accessors and a value " \ 483 "Invalid property descriptor. Cannot both specify accessors and a value " \
484 "or writable attribute, %") \ 484 "or writable attribute, %") \
485 T(VarRedeclaration, "Identifier '%' has already been declared") \ 485 T(VarRedeclaration, "Identifier '%' has already been declared") \
486 T(WrongArgs, "%: Arguments list has wrong type") \ 486 T(WrongArgs, "%: Arguments list has wrong type") \
487 /* ReferenceError */ \ 487 /* ReferenceError */ \
488 T(NotDefined, "% is not defined") \ 488 T(NotDefined, "% is not defined") \
489 T(SuperAlreadyCalled, "Super constructor may only be called once") \
489 T(UnsupportedSuper, "Unsupported reference to 'super'") \ 490 T(UnsupportedSuper, "Unsupported reference to 'super'") \
490 /* RangeError */ \ 491 /* RangeError */ \
491 T(DateRange, "Provided date is not in valid range.") \ 492 T(DateRange, "Provided date is not in valid range.") \
492 T(ExpectedTimezoneID, \ 493 T(ExpectedTimezoneID, \
493 "Expected Area/Location(/Location)* for time zone, got %") \ 494 "Expected Area/Location(/Location)* for time zone, got %") \
494 T(ExpectedLocation, \ 495 T(ExpectedLocation, \
495 "Expected letters optionally connected with underscores or hyphens for " \ 496 "Expected letters optionally connected with underscores or hyphens for " \
496 "a location, got %") \ 497 "a location, got %") \
497 T(InvalidArrayBufferLength, "Invalid array buffer length") \ 498 T(InvalidArrayBufferLength, "Invalid array buffer length") \
498 T(ArrayBufferAllocationFailed, "Array buffer allocation failed") \ 499 T(ArrayBufferAllocationFailed, "Array buffer allocation failed") \
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 const MessageLocation* loc, 729 const MessageLocation* loc,
729 Handle<Object> message_obj, 730 Handle<Object> message_obj,
730 v8::Local<v8::Value> api_exception_obj); 731 v8::Local<v8::Value> api_exception_obj);
731 }; 732 };
732 733
733 734
734 } // namespace internal 735 } // namespace internal
735 } // namespace v8 736 } // namespace v8
736 737
737 #endif // V8_MESSAGES_H_ 738 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698