[ 
https://issues.apache.org/jira/browse/GROOVY-12204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18099617#comment-18099617
 ] 

ASF GitHub Bot commented on GROOVY-12204:
-----------------------------------------

paulk-asert opened a new pull request, #2741:
URL: https://github.com/apache/groovy/pull/2741

   …le compile phase)
   
   Add a targetPhase property to CompilerConfiguration (default Phases.ALL) 
which the no-arg CompilationUnit.compile() now honors; callers that name an 
explicit phase, such as the AST browser, are unaffected. The new groovyc 
--check option is sugar for setting the target phase to INSTRUCTION_SELECTION: 
parse, resolution, and static type-checking errors are still reported but no 
class files are generated, giving a faster feedback loop for editors, CI 
checks, and coding agents.




> Support check-only compilation (stop after a configurable compile phase)
> ------------------------------------------------------------------------
>
>                 Key: GROOVY-12204
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12204
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>
> Groovy has existing machinery to run compilation to a particular phase. This 
> ticket is to make that easier to invoke so that humans and AI agents can 
> check code without generating the full bytecode.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to