about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2022-09-18T16·06-0400
committergrfn <grfn@gws.fyi>2022-09-18T16·40+0000
commitd431aa7743f0956cd31ab64b73bbee469783ba51 (patch)
tree133cd7ecc6a6277437c2c939b8d10e8ce62b03d4 /web
parentb3cc4c8c2c25008699323491ee2456bd317efeac (diff)
fix(tvix/eval): Emit errors for invalid integers r/4898
Invalid integers (eg integers that're too long) end up as error returns
on the `.value()` returned from the literal in the AST - previously we'd
unwrap this error, causing it to panic the compiler, but now we've got a
nice error variant for it (which just unwraps the underlying
std::num::ParseIntError).

Change-Id: I50c3c5ba89407d86659e20d8991b9658415f39a0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6635
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'web')
0 files changed, 0 insertions, 0 deletions