Aero 1.2.6 PATCH · 2026-11-14
Aero 1.2.6 is a fixes-only release with no new language surface. Its focus is the class of bugs that returned a silently wrong answer: trailing expressions, match bindings, NaN comparisons and integer division by zero used to compute the wrong thing without complaint — now they either work or fail loudly.
Highlights What changed.
Every item below maps to the GitHub release notes for v1.2.6, verbatim.
- (01)
Trailing expressions now return a value
fn f(a: i64) -> i64 { a + 1 }used to evaluate and discard, silently returning 0. It is now the return value; a trailing semicolon still means discard. - (02)
match binding patterns
A bare lowercase identifier is now a binding (
n => ...); an uppercase one stays an enum variant. Previouslynwas rejected as an unknown variant. - (03)
Unary
~and!workBoth failed at lexing before 1.2.6.
~is bitwise NOT on integers;!accepts onlybool. - (04)
NaN comparison fixed
NaN != NaNused to return false. All IEEE float comparisons now behave correctly. - (05)
Integer division by zero aborts
It used to return 0 silently. Now it prints
aero: division by zero (line N)and aborts with exit code 3. - (06)
print("%d", i64)no longer truncatesAll six integer format specifiers get 64-bit length modifiers, fixing the Windows LLP64 truncation.
- (07)
The CLI no longer swallows bad arguments
Unknown options, missing option values and extra positional arguments are hard errors (exit 2);
aero runrejects--target. - (08)
--targetno longer emits a host binaryA cross-OS triple now fails with a clear AOT error; use
--emit-objfor freestanding objects.
Packages Downloads.
| Platform | Package | Status |
|---|---|---|
| Windows 10/11 x86_64 | aero-v1.2.6-windows-x86_64.zip | 已发布 |
| Linux x86_64 | aero-v1.2.6-linux-x86_64.tar.gz | 已发布 |
| macOS Apple Silicon | aero-v1.2.6-macos-arm64.tar.gz | 已发布 |
| macOS Intel | aero-v1.2.6-macos-x86_64.tar.gz | 已发布 |
Install How to install.
# x86_64 Linux — 安装指定版本
curl -sSL https://github.com/SereinCin/aero-lang/releases/download/v1.2.6/install_linux.sh | sh
aero --version# macOS (Apple Silicon / Intel)
curl -sSL https://github.com/SereinCin/aero-lang/releases/download/v1.2.6/install_macos.sh | sh
aero --version- 下载
aero-v1.2.6-windows-x86_64.zip(见上方 Packages 表)。 - 解压到任意目录,例如
C:\Aero\。 - 运行目录内的
install.bat——只修改用户 PATH,不需要管理员权限。 - 新开一个终端(或完全重启 VS Code),执行
aero --version。
# VS Code 扩展(语法高亮 + 编译器诊断)
code --install-extension serein.aero-lang把 aero.lsp.executablePath 指向本版本的 aero 二进制即可启用诊断。
Assets Checksums.
全部资产附 sha256,发布页同时提供 SHA256SUMS.txt。Verify: aero --version should print aero 1.2.6.
| File | SHA256 | Size | |
|---|---|---|---|
| aero-v1.2.6-linux-x86_64.tar.gz | 23263f1b4dadba396706a999fe5133ac3aff8281a29ae805e96f3ff8784b2f72 | 27.6 MB | |
| aero-v1.2.6-macos-arm64.tar.gz | 4003d4b4861bc72d86aee66a23a4c7196a68aabd6a8e0bc2743fbed834d7cf98 | 21.8 MB | |
| aero-v1.2.6-macos-x86_64.tar.gz | 09bcdc7dd8b5691623e7016f6c008346ba6090b93efc50ceea80bd8df67ef0f5 | 23 MB | |
| aero-v1.2.6-windows-x86_64.zip | 886f166306a8ac1524eb2db6ac05a952169f8e72042b8ed712b457dea8b1137a | 24.6 MB | |
| install_linux.sh | 9a7d5dec7e2c2f7e7901902e5a6458442f4f7ac973109b5521213fdafff81e02 | 3.05 KB | |
| install_macos.sh | 6557af822ea924e461fd2da2b9af07e9189fef49cc1294d5e0de2dd4d3030c0e | 2.86 KB | |
| SHA256SUMS.txt | 2bd792a0043f7828dda59bf1a2272f8567ab8013986b669a735a1e2c3f8a8c88 | 390 Bytes | |
| uninstall_linux.sh | cfd6bec0f90aca2d97e4310f8246cad6598e7ddf57e4ae00b44375d56d19c87d | 203 Bytes | |
| uninstall_macos.sh | 0f99f5de80acc8b8049147a9e92cc2d2bee9550189531a0d37e5c3b87307a552 | 203 Bytes |