rcl/src
Ruud van Asseldonk 24a4d85240 Remove todo in scalar unpack error message
It is still kind of true, here is a reproducer:

    let xs = [1, 2]; { a = 1, ..xs }
    stdin:1:27
      ╷
    1 │ let xs = [1, 2]; { a = 1, ..xs }
      ╵                           ^~~~
    Error: Invalid unpack in dict.

    Help: '..' unpacks lists and sets, use '...' to unpack dicts.

I don't think the help is that bad though, the error does say "invalid
unpack" and the help explains that there are ".." and "...", the fact
that "xs" is a list and ".." is the right thing to unpack a list, well
yeah but what do you expect unpacking a list into a dict to do? So I
think it's fine, let's not complicate the already complex error
reporting logic any further.
2025-11-22 22:52:18 +01:00
..
abstraction.rs Insert runtime typecheck for dict unpack if needed 2025-11-22 21:33:25 +01:00
ast.rs Insert runtime typecheck for dict unpack if needed 2025-11-22 21:33:25 +01:00
cli.rs Add --about that prints license info 2025-11-22 21:33:02 +01:00
cli_utils.rs Silence incorrect Clippy advice 2025-08-31 00:35:43 +02:00
cmd_build.rs Accept a new json-lines format in the CLI 2025-06-28 22:17:01 +02:00
cmd_eval.rs Implement JSON Lines output format 2025-06-30 22:49:37 +02:00
cst.rs Begin working on typechecking unpacks 2025-11-22 21:33:24 +01:00
decimal.rs Tweak the handling of exponent 0 on integers 2025-08-22 20:17:14 +02:00
env.rs Exclude some regions from code coverage 2024-02-22 20:57:12 +01:00
error.rs Enable the CST formatter to read from multiple docs 2025-08-25 22:56:49 +02:00
eval.rs Add goldens for unpack runtime type checks 2025-11-22 21:33:25 +01:00
fmt_cst.rs Parse unpack expressions 2025-11-22 21:33:24 +01:00
fmt_json.rs Remove Value::Int in favor of Value::Number 2025-02-24 20:42:59 +01:00
fmt_json_lines.rs Implement JSON Lines output format 2025-06-30 22:49:37 +02:00
fmt_raw.rs Unbox primitive values 2024-02-10 14:11:01 +01:00
fmt_rcl.rs Fix broken intra-doc links 2025-09-02 23:25:11 +02:00
fmt_toml.rs Fix broken intra-doc links 2025-09-02 23:25:11 +02:00
fmt_type.rs Resolve todo in reporting type diff 2025-11-22 22:16:31 +01:00
fmt_yaml_stream.rs Simplify yaml-stream formatter 2025-06-30 22:49:37 +02:00
highlight.rs Delete builtins from highlight module 2025-03-15 19:58:19 +01:00
lexer.rs Lex .. and ... tokens 2025-11-22 21:33:24 +01:00
lib.rs Add crate docs with an example 2025-09-02 23:25:11 +02:00
loader.rs Fix broken intra-doc links 2025-09-02 23:25:11 +02:00
main.rs Encapsulate patch functionality in patcher struct 2025-08-25 22:58:11 +02:00
markup.rs Add a way to convert MarkupString back to Doc 2025-06-30 21:59:40 +02:00
parser.rs Begin working on typechecking unpacks 2025-11-22 21:33:24 +01:00
patch.rs Encapsulate patch functionality in patcher struct 2025-08-25 22:58:11 +02:00
pprint.rs Implement JSON Lines output format 2025-06-30 22:49:37 +02:00
runtime.rs Fix broken intra-doc links 2025-09-02 23:25:11 +02:00
source.rs Enable the CST formatter to read from multiple docs 2025-08-25 22:56:49 +02:00
stdlib.rs Silence incorrect Clippy advice 2025-08-07 23:28:05 +02:00
string.rs Remove now-redundant cases of Prefixed<Expr> 2024-06-16 22:49:27 +02:00
tracer.rs Make width optional in pretty-printer 2025-06-28 21:50:20 +02:00
type_diff.rs Resolve todo in reporting type diff 2025-11-22 22:16:31 +01:00
type_source.rs Add build target parsing 2024-07-27 23:03:05 +02:00
typecheck.rs Remove todo in scalar unpack error message 2025-11-22 22:52:18 +01:00
types.rs Turn todo into deliberately unimplemented feature 2025-11-22 22:19:39 +01:00