Ideas to reduce error message size?
Nick Treleaven
nick at geany.org
Thu Aug 31 09:18:17 UTC 2023
On Wednesday, 30 August 2023 at 09:24:21 UTC, Paolo Invernizzi
wrote:
> src/api3.d(49): called from here:
> `checkSql(Schema("public", <snip **BAZILLIONS of lines**>
> src/dget/db.d(276): Error: template instance
> `api3.forgeSqlCheckerForSchema!(Schema("public", <snip
> **BAZILLIONS of lines**> error instantiating
> ```
The compiler could limit the call expression to a few lines
unless the verbose flag is passed.
A similar problem exists when calling a function literal which
errors, the whole body is printed which can be long.
More information about the Digitalmars-d-learn
mailing list