@artel/artc 0.6.25238 → 0.6.25239

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/Cli.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CommandLineCompiler
4
- } from "./chunk-B2VADQOI.js";
5
- import "./chunk-YPXECPGY.js";
4
+ } from "./chunk-UOGTFZ6X.js";
5
+ import "./chunk-TPCKKHPK.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-S6SV63VD.js";
8
+ } from "./chunk-3VRPBHJN.js";
9
9
 
10
10
  // source/Cli.ts
11
11
  function main() {
package/build/api/Api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "../chunk-YPXECPGY.js";
3
+ } from "../chunk-TPCKKHPK.js";
4
4
  import {
5
5
  AccessKind,
6
6
  AccessedFunctionValueParameter,
@@ -322,7 +322,7 @@ import {
322
322
  withoutQuotes,
323
323
  withoutTemplateQuotes,
324
324
  yieldExecution
325
- } from "../chunk-S6SV63VD.js";
325
+ } from "../chunk-3VRPBHJN.js";
326
326
  export {
327
327
  AccessKind,
328
328
  AccessedFunctionValueParameter,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-B2VADQOI.js";
10
- import "../chunk-YPXECPGY.js";
11
- import "../chunk-S6SV63VD.js";
9
+ } from "../chunk-UOGTFZ6X.js";
10
+ import "../chunk-TPCKKHPK.js";
11
+ import "../chunk-3VRPBHJN.js";
12
12
  export {
13
13
  CommandLineCompiler,
14
14
  FileSystemUri,
@@ -182,7 +182,7 @@ import {
182
182
  unwrapParenthesizedExpressions,
183
183
  visitChildren,
184
184
  yieldExecution
185
- } from "../chunk-S6SV63VD.js";
185
+ } from "../chunk-3VRPBHJN.js";
186
186
 
187
187
  // source/services/CustomCommand.ts
188
188
  import * as ls from "vscode-languageserver";
@@ -620,7 +620,7 @@ var UniqueWithComparatorQuery = class extends Query {
620
620
  };
621
621
 
622
622
  // source/common/Constants.ts
623
- var ArtelVersion = true ? "0.6.25238" : "";
623
+ var ArtelVersion = true ? "0.6.25239" : "";
624
624
  var ArtelSourceFileExtensions = [".\u0430\u0440\u0442", ".\u0430\u0440\u0442\u0435\u043B\u044C", ".art", ".artel"];
625
625
  var ArtelSourceFileExtensionSet = new Set(ArtelSourceFileExtensions);
626
626
  var ArtelSourceAndConfigurationFileExtensionSet = new Set(ArtelSourceFileExtensionSet).add(".json");
@@ -46403,13 +46403,13 @@ var DiagnosticCollector = class _DiagnosticCollector {
46403
46403
  break;
46404
46404
  }
46405
46405
  case 122 /* TranslationsDeclaration */: {
46406
- if (this._sourceFile.package.kind !== "translation") {
46406
+ if (this._sourceFile.package.kind === "program") {
46407
46407
  this.addDiagnostic(this._analyzer.createNodeDiagnostic(
46408
46408
  242 /* TranslationsCanOnlyBeDeclaredInTranslationPackage */,
46409
46409
  node.translationsKeyword
46410
46410
  ));
46411
46411
  traversalController.stopChildrenTraverse();
46412
- } else {
46412
+ } else if (this._sourceFile.package.kind === "translation") {
46413
46413
  if (this.translationPackage === void 0) {
46414
46414
  this.addDiagnostic(this._analyzer.createNodeDiagnostic(
46415
46415
  243 /* UnknownTranslatedPackage0 */,
@@ -10,7 +10,7 @@ import {
10
10
  WellKnownDeclarationsLoadError,
11
11
  __async,
12
12
  createTsInteropInputsForCompilation
13
- } from "./chunk-S6SV63VD.js";
13
+ } from "./chunk-3VRPBHJN.js";
14
14
 
15
15
  // source/executor/Compiler.ts
16
16
  var Compiler = class {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "./chunk-YPXECPGY.js";
3
+ } from "./chunk-TPCKKHPK.js";
4
4
  import {
5
5
  ArtelVersion,
6
6
  Cached,
@@ -14,7 +14,7 @@ import {
14
14
  __async,
15
15
  performanceMeasurementStageNames,
16
16
  performanceMeasurementStages
17
- } from "./chunk-S6SV63VD.js";
17
+ } from "./chunk-3VRPBHJN.js";
18
18
 
19
19
  // source/executor/FileSystemUri.ts
20
20
  import { platform } from "os";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artel/artc",
3
- "version": "0.6.25238",
3
+ "version": "0.6.25239",
4
4
  "description": "Артель Компилятор | Artel Compiler",
5
5
  "author": "Nezaboodka Team <contact@nezaboodka.com>",
6
6
  "license": "LGPL-3.0-or-later",