summaryrefslogtreecommitdiff
path: root/test/ruby/test_proc.rb
AgeCommit message (Expand)Author
2025-12-30Reapply "[Feature #6012] Extend `source_location` for end positionBenoit Daloze
2025-12-24Prevent "warning: assigned but unused variable - it"Yusuke Endoh
2025-12-16Revert "[Feature #6012] Extend `source_location` for end positionNobuyoshi Nakada
2025-12-13Fix binding.implicit_parameters_get/defined segfault when wrong name string i...tomoya ishida
2025-12-12Binding#implicit_parameters, etc. support the implicit "it" parameterYusuke Endoh
2025-12-12Add Binding#implicit_parameters, etc.Yusuke Endoh
2025-12-12Binding#local_variable_defined? raises a NameError for numbered params.Yusuke Endoh
2025-12-12`Binding#local_variable_defined?` must not handle numbered parametersYusuke Endoh
2025-07-16Suppress warnings for variablesNobuyoshi Nakada
2025-05-21Fix one-by-one error of numbered parameter IDRichard Böhme
2025-02-18Add a test for Binding#local_variable* with numbered parameters and `it`Yusuke Endoh
2025-01-14Add tests for Proc#parameters on `it` blocksAlan Wu
2025-01-13Proc#parameters: Show anonymous optionals as `[:opt]`Alan Wu
2025-01-09[Feature #6012] Extend `source_location` for end position and columnsNobuyoshi Nakada
2024-12-13Fix use-after-free in ep in Proc#dup for ifunc procsPeter Zhu
2024-11-02Skip TestProc#test_hash_does_not_change_after_compaction if compaction is not...Peter Zhu
2024-11-01Improve coverage of TestProc#test_hash_uniquenessPeter Zhu
2024-11-01Add TestProc#test_hash_equalPeter Zhu
2024-11-01Rename test_hash to test_hash_uniquenessPeter Zhu
2024-11-01[Bug #20853] Fix Proc#hash to not change after compactionPeter Zhu
2024-10-31Fix assertion when envval of proc is QundefPeter Zhu
2024-10-31Fix indentation in TestProc#test_hash [ci skip]Peter Zhu
2024-09-15Prevent warnings: the block passed to ... may be ignoredYusuke Endoh
2024-09-13Prevent warnings "the block passed to ... may be ignored"Yusuke Endoh
2024-02-06[PRISM] Use block node location when building block iseqNikita Vasilevsky
2023-10-26[Feature #19362] Call `#initialize_dup` hook at `Proc#dup`Nobuyoshi Nakada
2023-09-12Make Kernel#lambda raise when given non-literal blockAlan Wu
2023-07-10Fix autosplat conditions to handle ruby2_keywords caseJeremy Evans
2022-04-06Raise RuntimeError if Kernel#binding is called from a non-Ruby frameJeremy Evans
2022-04-01Revert "Raise RuntimeError if Kernel#binding is called from a non-Ruby frame"Jeremy Evans
2022-03-30Do not autosplat array in block call just because keywords acceptedJeremy Evans
2022-03-24Raise RuntimeError if Kernel#binding is called from a non-Ruby frameJeremy Evans
2022-03-17Make Proc#parameters support lambda keyword for returning parameters as if la...Jeremy Evans
2022-01-13T#dup (T < Proc) should return T's objectKoichi Sasada
2021-12-30Add support for anonymous rest and keyword rest argument forwardingJeremy Evans
2021-10-29Preserve the encoding of message from outer local variablesNobuyoshi Nakada
2021-10-29Remove redundant callsNobuyoshi Nakada
2021-06-24Remove shift of ep when computing Proc#hashJeremy Evans
2020-12-17test/ruby: Check warning messages at a finer granularityNobuyoshi Nakada
2020-12-12fix lambda's warning and testsKoichi Sasada
2020-12-11show deprecation warning correctly for lambda(&b)Koichi Sasada
2020-10-29check isolated Proc more strictlyKoichi Sasada
2020-06-19Implement Proc#== and #eql?Jeremy Evans
2020-06-10Make proc/Proc.new without block an error instead of warningJeremy Evans
2020-03-08Do not autosplat when calling procs that accept rest and keywordsJeremy Evans
2020-01-28support multi-run for test/ruby/test_proc.rbKoichi Sasada
2020-01-24Do not autosplat when calling proc with empty keyword splatJeremy Evans
2020-01-02Update tests for full keyword argument separationJeremy Evans
2020-01-02Fully separate positional arguments and keyword argumentsJeremy Evans
2019-12-30Decide lambdaness of (f << g) using g (#2729)Alan Wu