Skip to content

Commit

Permalink
dfmc-environment-projects: build-project: add type to error-handler
Browse files Browse the repository at this point in the history
`error-handler` is required to be a function since it's passed to
`project-condition-handler` via `with-project-location-handler`. (Took me a
while to track down given the backtrace doesn't help much when there's an error
in the error handler.)
  • Loading branch information
cgay committed Mar 7, 2024
1 parent 5a6d4e6 commit 84f74b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/environment/dfmc/projects/projects.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ define sealed method build-project
abort-on-all-warnings? = #f,
abort-on-serious-warnings? = #f,
warning-callback :: false-or(<function>),
progress-callback :: false-or(<function>), error-handler,
progress-callback :: false-or(<function>),
error-handler :: <function>,
save-databases? = #f,
process-subprojects? = #t,
messages = #"external")
Expand Down

0 comments on commit 84f74b4

Please sign in to comment.