@malloydata/malloy 0.0.232 → 0.0.233-dev250128221207

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.
@@ -172,6 +172,12 @@ describe('expressions', () => {
172
172
  test('apply granular-literal alternation uses all literals for range', () => {
173
173
  expect('ad ? @2020').compilesTo('{{ad >= @2020-01-01} and {ad < @2021-01-01}}');
174
174
  });
175
+ test('apply followed by another condition', () => {
176
+ expect('ai ? (10 | 20) and ai is not null').toLog((0, test_translator_1.errorMessage)("no viable alternative at input 'ai'"));
177
+ });
178
+ test('apply followed by another condition, with parenthesis', () => {
179
+ expect('(ai ? (10 | 20)) and ai is not null').compilesTo('{({ai in {10,20}}) and {is-not-null ai}}');
180
+ });
175
181
  test('apply or-tree granular-literal doesnt turn into IN', () => {
176
182
  expect('ad ? @2020 | @2022').compilesTo('{{{ad >= @2020-01-01} and {ad < @2021-01-01}} or {{ad >= @2022-01-01} and {ad < @2023-01-01}}}');
177
183
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MALLOY_VERSION = "0.0.232";
1
+ export declare const MALLOY_VERSION = "0.0.233";
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MALLOY_VERSION = void 0;
4
4
  // generated with 'generate-version-file' script; do not edit manually
5
- exports.MALLOY_VERSION = '0.0.232';
5
+ exports.MALLOY_VERSION = '0.0.233';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.232",
3
+ "version": "0.0.233-dev250128221207",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",