lix/doc/manual/rl-next/print-value-in-coercion-error.md
Jade Lovelace 272db8af1b doc: add release note credits and categories for all the changes in Lix
This does not add missing release notes, and it doesn't do anything
about the profiles feature we would really like to have so we can have
consistent credit.

Change-Id: I72a6f7acfcff85f380be17dac76501a6f4693776
2024-05-15 14:33:35 -07:00

687 B

synopsis issues prs credits category
Coercion errors include the failing value 561 9754
9999years
horrors
Improvements

The error: cannot coerce a <TYPE> to a string message now includes the value which caused the error.

Before:

       error: cannot coerce a set to a string

After:

       error: cannot coerce a set to a string: { aesSupport = «thunk»;
       avx2Support = «thunk»; avx512Support = «thunk»; avxSupport = «thunk»;
       canExecute = «thunk»; config = «thunk»; darwinArch = «thunk»; darwinMinVersion
       = «thunk»; darwinMinVersionVariable = «thunk»; darwinPlatform = «thunk»; «84
       attributes elided»}