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

Side by Side Diff: dart/sdk/lib/_internal/compiler/implementation/warnings.dart

Issue 12033003: Deferred (aka lazy) loading of static functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments and use IsolateNatives.thisScript Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart2js; 5 part of dart2js;
6 6
7 class MessageKind { 7 class MessageKind {
8 final String template; 8 final String template;
9 const MessageKind(this.template); 9 const MessageKind(this.template);
10 10
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 371
372 static const ASSERT_IS_GIVEN_NAMED_ARGUMENTS = const MessageKind( 372 static const ASSERT_IS_GIVEN_NAMED_ARGUMENTS = const MessageKind(
373 "assert takes no named arguments, but given #{argumentCount}."); 373 "assert takes no named arguments, but given #{argumentCount}.");
374 374
375 static const FACTORY_REDIRECTION_IN_NON_FACTORY = const MessageKind( 375 static const FACTORY_REDIRECTION_IN_NON_FACTORY = const MessageKind(
376 "Error: Factory redirection only allowed in factories."); 376 "Error: Factory redirection only allowed in factories.");
377 377
378 static const MISSING_FACTORY_KEYWORD = const MessageKind( 378 static const MISSING_FACTORY_KEYWORD = const MessageKind(
379 "Did you forget a factory keyword here?"); 379 "Did you forget a factory keyword here?");
380 380
381 static const DEFERRED_LIBRARY_NAME_MISMATCH = const MessageKind(
382 'Error: Library name mismatch "#{expectedName}" != "#{actualName}".');
383
381 static const COMPILER_CRASHED = const MessageKind( 384 static const COMPILER_CRASHED = const MessageKind(
382 "Error: The compiler crashed when compiling this element."); 385 "Error: The compiler crashed when compiling this element.");
383 386
384 static const PLEASE_REPORT_THE_CRASH = const MessageKind(''' 387 static const PLEASE_REPORT_THE_CRASH = const MessageKind('''
385 The compiler is broken. 388 The compiler is broken.
386 389
387 When compiling the above element, the compiler crashed. It is not 390 When compiling the above element, the compiler crashed. It is not
388 possible to tell if this is caused by a problem in your program or 391 possible to tell if this is caused by a problem in your program or
389 not. Regardless, the compiler should not crash. 392 not. Regardless, the compiler should not crash.
390 393
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 562
560 class CompileTimeConstantError extends Diagnostic { 563 class CompileTimeConstantError extends Diagnostic {
561 CompileTimeConstantError(MessageKind kind, [Map arguments = const {}]) 564 CompileTimeConstantError(MessageKind kind, [Map arguments = const {}])
562 : super(kind, arguments); 565 : super(kind, arguments);
563 } 566 }
564 567
565 class CompilationError extends Diagnostic { 568 class CompilationError extends Diagnostic {
566 CompilationError(MessageKind kind, [Map arguments = const {}]) 569 CompilationError(MessageKind kind, [Map arguments = const {}])
567 : super(kind, arguments); 570 : super(kind, arguments);
568 } 571 }
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | dart/tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698