- Modernized code a bit and added variables to blocks

This commit is contained in:
mcndave committed 2026-07-01 12:57:01 -04:00
1 parent 722131d801
commit 778f84116b
12 files changed
+146 -52

No files matched your search

+4 -1
View File
@@ -20,7 +20,10 @@ return [
},
Context::class => function($c) {
return new BaseContext($c->get(Lean\Lean::class)->getPiceaContext());
return new BaseContext(
defaultNamespace: $c->get(Lean\Lean::class)->getPiceaContext(),
declare: getenv('PICEA_DECLARE') ?? 'declare(strict_types=1)'
);
},
Compiler::class => autowire(Compiler::class),