#!/usr/bin/env bash # ============================================================================= # run_syntax_1_8_tests.sh -- assert the syntax 1.8 surface end to end. # # Covers the two 1.8 features and their enforced limits: # - inferred local declarations (`let`) # - constructor arguments on `new Type(args)` # # Usage: run_syntax_1_8_tests.sh # Run from the repository root (fixtures are referenced relative to this file). # ============================================================================= set -u SLEELA="${1:-./impl/build/sleela}" HERE="$(cd "$(dirname "$0")" && pwd)" fail=0 # expect_ok