[zeek/spicy] 47937a: Fix printer for functions.

0 views
Skip to first unread message

Benjamin Bannier

unread,
Mar 2, 2026, 4:36:45 AM (11 days ago) Mar 2
to spicy-...@zeek.org
Branch: refs/heads/topic/bbannier/function-print
Home: https://github.com/zeek/spicy
Commit: 47937a1619a5aa4cbc5bcb6e6244c169e8f1258d
https://github.com/zeek/spicy/commit/47937a1619a5aa4cbc5bcb6e6244c169e8f1258d
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2026-03-02 (Mon, 02 Mar 2026)

Changed paths:
M hilti/toolchain/src/compiler/printer.cc
M tests/Baseline/spicy.optimization.default-parser-functions/log
M tests/Baseline/spicy.optimization.feature_requirements/log
M tests/Baseline/spicy.optimization.unused-functions/log
M tests/Baseline/spicy.optimization.unused-types/log

Log Message:
-----------
Fix printer for functions.

We would previously inject a redundant `function` before dispatching to
the printer of implementations which already emits the kind.



To unsubscribe from these emails, change your notification settings at https://github.com/zeek/spicy/settings/notifications

Benjamin Bannier

unread,
Mar 3, 2026, 4:35:39 AM (10 days ago) Mar 3
to spicy-...@zeek.org
Branch: refs/heads/main
Home: https://github.com/zeek/spicy
Commit: 47937a1619a5aa4cbc5bcb6e6244c169e8f1258d
https://github.com/zeek/spicy/commit/47937a1619a5aa4cbc5bcb6e6244c169e8f1258d
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2026-03-02 (Mon, 02 Mar 2026)

Changed paths:
M hilti/toolchain/src/compiler/printer.cc
M tests/Baseline/spicy.optimization.default-parser-functions/log
M tests/Baseline/spicy.optimization.feature_requirements/log
M tests/Baseline/spicy.optimization.unused-functions/log
M tests/Baseline/spicy.optimization.unused-types/log

Log Message:
-----------
Fix printer for functions.

We would previously inject a redundant `function` before dispatching to
the printer of implementations which already emits the kind.


Commit: ad81722b3a512a9b5be14879e633212653f1ddc3
https://github.com/zeek/spicy/commit/ad81722b3a512a9b5be14879e633212653f1ddc3
Author: Benjamin Bannier <benjamin...@corelight.com>
Date: 2026-03-03 (Tue, 03 Mar 2026)

Changed paths:
M CHANGES
M VERSION
M hilti/toolchain/src/compiler/printer.cc
M tests/Baseline/spicy.optimization.default-parser-functions/log
M tests/Baseline/spicy.optimization.feature_requirements/log
M tests/Baseline/spicy.optimization.unused-functions/log
M tests/Baseline/spicy.optimization.unused-types/log

Log Message:
-----------
Merge branch 'topic/bbannier/function-print'


Compare: https://github.com/zeek/spicy/compare/b392080ffde5...ad81722b3a51
Reply all
Reply to author
Forward
0 new messages