Skip to content

Conversation

@fglock
Copy link
Owner

@fglock fglock commented Jan 28, 2026

  • Fix test 43: Handle q-strings in hash literals by modifying StatementResolver.isHashLiteral to be more conservative about treating '=' as block indicator
  • Start fixing test 44: Add syntax error for invalid filetest operators
  • Test 43 now passes: { q=bar= => 'bar' } correctly returns HASH
  • Test 44 partially passes: Gets syntax error for -F but function call case still needs work

- Fix test 43: Handle q-strings in hash literals by modifying StatementResolver.isHashLiteral
  to be more conservative about treating '=' as block indicator
- Start fixing test 44: Add syntax error for invalid filetest operators
- Test 43 now passes: { q=bar= => 'bar' } correctly returns HASH
- Test 44 partially passes: Gets syntax error for -F but function call case still needs work
@fglock fglock merged commit 0735846 into master Jan 28, 2026
2 checks passed
@fglock fglock deleted the fix-parser-tests branch January 28, 2026 11:55
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