Comment by ~smlavine on ~smlavine/hareimports
Here is an example in real code of this sort of import: https://git.sr.ht/~turminal/flood/tree/master/item/main.ha#L5
Ticket created by ~smlavine on ~smlavine/hareimports
This ticket will track progress on supporting this type of import, as described in §6.12.6 of the spec.
Ticket created by ~smlavine on ~sircmpwn/hare
As shown by this example:
use fmt; use os; export fn main() void = { switch (len(os::args)) { case 0 => // This is a test. fmt::print("0")!; case => void; // This line wants to be indented one level back }; switch (len(os::args)) { case 2 => // This is a comment, still. fmt::print("2")!; fmt::print("Still 2")!; // This line wants to be indented one level back case => void; // And this one too }; };
Comment by ~smlavine on ~sircmpwn/hare
This was fixed in c80c71f.
Ticket created by ~smlavine on ~rjarry/aerc
When trying to bind > to a command, as in
> = :save<space>
aerc does not launch, printing
Failed to load config: Found '>' without '<'
Using
">"
also fails with the same message.This comes from this section in config/bindings.go.
Removing that case from the switch seems to fix the issue, but I don't know if there is any other problem that that this switch is supposed to address, except for catching malformed bindings.
Comment by ~smlavine on ~emersion/hut
I"m working on a patch series for this.
~smlavine unassigned ~smlavine from #12 on ~smlavine/navipage