Giter Club home page Giter Club logo

Comments (5)

titsuki avatar titsuki commented on August 26, 2024 1

@zoffixznet
Thanks for merging my PR !

from roast.

zoffixznet avatar zoffixznet commented on August 26, 2024

However, it seems that there is another tie-breaking rule that where-blocked multi has higher priority than non-where-blocked multi.

Yes, and it's part of the test you quoted: https://github.com/perl6/roast/blob/master/S06-multi/subsignature.t#L437

it gets called when the argument is 1 and gives 1 as the result. The where-blocked multies take over for all the other values, because they're of a higher priority.

from roast.

titsuki avatar titsuki commented on August 26, 2024

@zoffixznet
Thanks for your reply !
I understand that, but I think we need another test case that implicitly explicitly shows the tie-breaking rule.
The test case defines a non-where-blocked multi routine first and a where-blocked multi routine second so that we can confirm Perl 6 call the second one first.

from roast.

zoffixznet avatar zoffixznet commented on August 26, 2024

The test case defines a non-where-blocked multi routine first and a where-blocked multi routine second so that we can confirm Perl 6 call the second one first.

Sure. Submit a PR with that test, please, if you can.

from roast.

titsuki avatar titsuki commented on August 26, 2024

ok. I've sent a PR.

from roast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.