Skip to content

Conversation

mishushakov
Copy link
Member

@mishushakov mishushakov self-assigned this May 14, 2025
@mishushakov mishushakov added the improvement Improvement for current functionality label May 14, 2025
@mishushakov mishushakov changed the title Added tests for the Ruby kernel (#106) Added tests for the Ruby kernel May 14, 2025
Copy link
Contributor

@0div 0div left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd make sure a few Ruby 3.0+ syntax changes work via additional tests such as:

  • Rightward assignment: 42 => x # Assigns 42 to x
  • Pattern matching: {a: 1, b: 2} => {a:} # Extracts a (= 1)
  • Find pattern:
case [1, 2, 3, 4, 5]
in [*pre, 3, *post]
  [pre, post]  # => [[1, 2], [4, 5]]
end

Copy link
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to #106

@jakubno jakubno closed this Jul 15, 2025
@jakubno jakubno deleted the added-tests-ruby-kernel branch July 15, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement for current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants