Skip to content

Fix type inference in v2 ConfigDsl#6800

Merged
pditommaso merged 2 commits intomasterfrom
fix-syntax-type-checking
Feb 7, 2026
Merged

Fix type inference in v2 ConfigDsl#6800
pditommaso merged 2 commits intomasterfrom
fix-syntax-type-checking

Conversation

@pditommaso
Copy link
Member

Summary

  • Add explicit <String> type parameter to Collections.emptyList() calls in PluginsDsl and ProfilesDsl constructors
  • Resolves type inference issues with the v2 parser when the generic type cannot be inferred from context

Test plan

  • Existing tests pass
  • Verify v2 parser handles config files with plugins and profiles blocks correctly

🤖 Generated with Claude Code

@netlify
Copy link

netlify bot commented Feb 4, 2026

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit edc47ba
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/69838e004e42f40008e6fdca

@pditommaso

This comment was marked as outdated.

Add explicit `<String>` type parameter to `Collections.emptyList()` calls
in PluginsDsl and ProfilesDsl constructors to resolve type inference
issues with the v2 parser.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@pditommaso pditommaso force-pushed the fix-syntax-type-checking branch from bfc0ac1 to 205337e Compare February 4, 2026 18:17
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@pditommaso pditommaso merged commit ed47164 into master Feb 7, 2026
12 checks passed
@pditommaso pditommaso deleted the fix-syntax-type-checking branch February 7, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants