Arc Forumnew | comments | leaders | submitlogin
2 points by akkartik 4086 days ago | link | parent

Ah, thanks for the report! That was my fault. This bug has been in anarki for over a year, ever since I messed with its templates: http://arclanguage.org/item?id=15664. In particular this highlights an issue with change a) at http://arclanguage.org/item?id=15690: when the default value is an expression like (seconds) for the time field, it's pointless not to inline it.

Stay tuned; I'll fix this in an hour or three.



2 points by akkartik 4083 days ago | link

This is now fixed (as of https://github.com/nex3/arc/tree/3d643ea924). I ended up backing off on changing defaults; arc now goes back to providing no support for them whatsoever. It's too hard to track default values while we wrap exprs in functions.

It's also been a constant enough question in my mind how the current semantics differ from arc3.1 that I wrote up a report.

Arc3.1: https://github.com/nex3/arc/blob/3d643ea924/lib/tem-report.a...

Current: https://github.com/nex3/arc/blob/3d643ea924/lib/tem-report.c...

-----

2 points by Fenng 4086 days ago | link

Waiting for you ...

:)

-----

1 point by akkartik 4086 days ago | link

Ok, there's now a temporary workaround up: https://github.com/nex3/arc/commit/4492309637. Do a git pull.

This is harder than I thought. Things will likely change as I continue to work on this, so that templates written to disk now might not be quite what you get back after a git pull in future. If you put your email in the about section of your profile I'll notify you when that happens, and exactly what changed.

-----

2 points by Fenng 4085 days ago | link

Thanks a lot! It's work now .

By the way, I've set my email in profile.

-----

1 point by akkartik 4085 days ago | link

Sorry, I meant set the email in your 'about' field. The 'email' field is only visible to the admins of the arc forum.

-----

1 point by Fenng 4085 days ago | link

OK.

I found another BUG, when click 'Saved' link in profile page, it's a blank page.

-----

1 point by akkartik 4083 days ago | link

Ah, you were right. Now fixed: https://github.com/nex3/arc/commit/ef519e72dd. Thanks a lot for catching this.

-----

1 point by akkartik 4085 days ago | link

Perhaps that's because you have nothing saved yet? It shows stories submitted by others that you've upvoted.

-----