| Index: pkg/dartino_compiler/lib/src/verbs/infrastructure.dart
|
| diff --git a/pkg/fletchc/lib/src/verbs/infrastructure.dart b/pkg/dartino_compiler/lib/src/verbs/infrastructure.dart
|
| similarity index 97%
|
| rename from pkg/fletchc/lib/src/verbs/infrastructure.dart
|
| rename to pkg/dartino_compiler/lib/src/verbs/infrastructure.dart
|
| index 5a8b574901bf84044fbb5ca6ab86c44a42c02485..78807a359939b2ef6f87078bfcef05fcbe1ece90 100644
|
| --- a/pkg/fletchc/lib/src/verbs/infrastructure.dart
|
| +++ b/pkg/dartino_compiler/lib/src/verbs/infrastructure.dart
|
| @@ -2,7 +2,7 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE.md file.
|
|
|
| -library fletchc.verbs.implementation;
|
| +library dartino_compiler.verbs.implementation;
|
|
|
| import 'dart:async' show
|
| Future,
|
| @@ -47,8 +47,8 @@ export '../hub/client_commands.dart' show
|
| ClientCommand;
|
|
|
| import '../hub/session_manager.dart' show
|
| - FletchCompiler,
|
| - FletchDelta,
|
| + DartinoCompiler,
|
| + DartinoDelta,
|
| IncrementalCompiler,
|
| WorkerConnection,
|
| Session,
|
| @@ -57,8 +57,8 @@ import '../hub/session_manager.dart' show
|
| currentSession;
|
|
|
| export '../hub/session_manager.dart' show
|
| - FletchCompiler,
|
| - FletchDelta,
|
| + DartinoCompiler,
|
| + DartinoDelta,
|
| IncrementalCompiler,
|
| WorkerConnection,
|
| Session,
|
| @@ -107,7 +107,7 @@ import 'documentation.dart' show
|
| helpDocumentation;
|
|
|
| import '../guess_configuration.dart' show
|
| - fletchVersion;
|
| + dartinoVersion;
|
|
|
| void reportErroneousTarget(ErrorTarget target) {
|
| throwFatalError(target.errorKind, userInput: target.userInput);
|
| @@ -126,14 +126,14 @@ AnalyzedSentence helpSentence(String message) {
|
|
|
| AnalyzedSentence analyzeSentence(Sentence sentence, Options options) {
|
| // Check the sentence's version matches the persistent process' version.
|
| - if (sentence.version != null && sentence.version != fletchVersion) {
|
| + if (sentence.version != null && sentence.version != dartinoVersion) {
|
| throwFatalError(
|
| DiagnosticKind.compilerVersionMismatch,
|
| - userInput: fletchVersion,
|
| + userInput: dartinoVersion,
|
| additionalUserInput: sentence.version);
|
| }
|
| if (options != null && options.version) {
|
| - return helpSentence(fletchVersion);
|
| + return helpSentence(dartinoVersion);
|
| }
|
| if (sentence.verb.isErroneous) {
|
| sentence.verb.action.perform(null, null);
|
|
|