Skip to content

Conversation

@MidnightDesign
Copy link
Contributor

πŸ“Œ What Does This PR Do?

Passing a non-empty-list or non-empty-array to array_map should return a non-empty array.

πŸ› οΈ Summary of Changes

  • Feature: Improves the signature of the array_map function

πŸ“‚ Affected Areas

  • Linter
  • Formatter
  • CLI
  • Composer Plugin
  • Dependencies
  • Documentation
  • Other (please specify): Analyzer

@azjezz azjezz changed the title array_map should return non-empty array for non-empty arrays chore(prelude): improve array_map signature for non-empty array Dec 22, 2025
@azjezz azjezz added Priority: Medium This issue may be useful and needs attention. Type: Enhancement Request for additions or changes that improve existing functionality. Subject: Analyzer An issue or PR related to the static analyzer/type checker. labels Dec 22, 2025
@azjezz azjezz merged commit faf2535 into carthage-software:main Dec 22, 2025
6 checks passed
@azjezz
Copy link
Member

azjezz commented Dec 22, 2025

Thanks @MidnightDesign!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Medium This issue may be useful and needs attention. Subject: Analyzer An issue or PR related to the static analyzer/type checker. Type: Enhancement Request for additions or changes that improve existing functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants