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

Side by Side Diff: src/messages.h

Issue 2661113002: [ESnext] Disallow using new with import() (Closed)
Patch Set: update goldens Created 3 years, 10 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 | « no previous file | src/parsing/parser-base.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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \ 301 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \
302 T(ExtendsValueNotConstructor, \ 302 T(ExtendsValueNotConstructor, \
303 "Class extends value % is not a constructor or null") \ 303 "Class extends value % is not a constructor or null") \
304 T(FirstArgumentNotRegExp, \ 304 T(FirstArgumentNotRegExp, \
305 "First argument to % must not be a regular expression") \ 305 "First argument to % must not be a regular expression") \
306 T(FunctionBind, "Bind must be called on a function") \ 306 T(FunctionBind, "Bind must be called on a function") \
307 T(GeneratorRunning, "Generator is already running") \ 307 T(GeneratorRunning, "Generator is already running") \
308 T(IllegalInvocation, "Illegal invocation") \ 308 T(IllegalInvocation, "Illegal invocation") \
309 T(ImmutablePrototypeSet, \ 309 T(ImmutablePrototypeSet, \
310 "Immutable prototype object '%' cannot have their prototype set") \ 310 "Immutable prototype object '%' cannot have their prototype set") \
311 T(ImportCallNotNewExpression, "Cannot use new with import") \
311 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \ 312 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \
312 T(InstanceofNonobjectProto, \ 313 T(InstanceofNonobjectProto, \
313 "Function has non-object prototype '%' in instanceof check") \ 314 "Function has non-object prototype '%' in instanceof check") \
314 T(InvalidArgument, "invalid_argument") \ 315 T(InvalidArgument, "invalid_argument") \
315 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \ 316 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \
316 T(InvalidRegExpExecResult, \ 317 T(InvalidRegExpExecResult, \
317 "RegExp exec method returned something other than an Object or null") \ 318 "RegExp exec method returned something other than an Object or null") \
318 T(InvalidSimdOperation, "% is not a valid type for this SIMD operation.") \ 319 T(InvalidSimdOperation, "% is not a valid type for this SIMD operation.") \
319 T(IteratorResultNotAnObject, "Iterator result % is not an object") \ 320 T(IteratorResultNotAnObject, "Iterator result % is not an object") \
320 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \ 321 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 const MessageLocation* loc, 734 const MessageLocation* loc,
734 Handle<Object> message_obj, 735 Handle<Object> message_obj,
735 v8::Local<v8::Value> api_exception_obj); 736 v8::Local<v8::Value> api_exception_obj);
736 }; 737 };
737 738
738 739
739 } // namespace internal 740 } // namespace internal
740 } // namespace v8 741 } // namespace v8
741 742
742 #endif // V8_MESSAGES_H_ 743 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | src/parsing/parser-base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698