ariadne icon indicating copy to clipboard operation
ariadne copied to clipboard

Support for above-code labels

Open jjl opened this issue 3 years ago • 2 comments

I have been thinking about how to make nice errors for using builtins in the lisp for my in-progress build tool, dull. At first i copied the structure of the example output image (in wonderfully shit ascii art lol), but it occurred to me that it would be nice to put the reasons above so that they read in order.

ParameterError

 +-[great.dull:1:16]
  |            +- After this scoop indicator
  |            | +- and this scoop parameter
  |            | | +- There should be no more arguments
  |            _ _ _
1 | (defn foo [& _ _])

How does this fit into your plans for layout?

jjl avatar Sep 23 '21 13:09 jjl

Oh, that's an interesting idea for sure! I didn't consider that. I think I'll add this to my todo list for the refactor of Ariadne I'm planning to do soon.

zesterer avatar Sep 23 '21 13:09 zesterer

I looked at the screenshot and wanted this after like 5 seconds, another vote for it.

Lokathor avatar Aug 10 '22 05:08 Lokathor