Neat-Lang / neat

The Neat Language compiler. Early beta?
BSD 3-Clause "New" or "Revised" License
110 stars 9 forks source link

Empty output #43

Closed ghost closed 4 months ago

ghost commented 4 months ago
module n123;
import std.stdio;
import std.math;

double sin(double a) => .sin(a + 1.0);

void main(string[] args)
{
    print("$(sin(30.0))");
}

Run neat -run n123.nt

Empty output.

FeepingCreature commented 4 months ago

Fixed

$ neat -run test.nt
Killed by 11: Segmentation fault