Giter Site home page Giter Site logo

Comments (7)

MohitGupta14 avatar MohitGupta14 commented on June 28, 2024

I tested it.
I think it's not working because you didn't mention the case block.
it's compulsory to use case block with switch I think.
what's your opinion?
case block

from musicblocks.

pikurasa avatar pikurasa commented on June 28, 2024

I tested it. I think it's not working because you didn't mention the case block. it's compulsory to use case block with switch I think. what's your opinion?

This ticket is not about /using/ the block, it's that the v-space won't go inside.

Without being to place it there, the space becomes cluttered.

from musicblocks.

SamarthBagga avatar SamarthBagga commented on June 28, 2024

@pikurasa, Should every block be allowed to connect with the switch block, regardless of a case block being present?

from musicblocks.

pikurasa avatar pikurasa commented on June 28, 2024

@pikurasa, Should every block be allowed to connect with the switch block, regardless of a case block being present?

Yes, basically.

from musicblocks.

SamarthBagga avatar SamarthBagga commented on June 28, 2024

okay, i'll get on it!

from musicblocks.

walterbender avatar walterbender commented on June 28, 2024

This came up in discussion today. Only the default and case blocks can be put into a switch clap since only those two blocks will run. It would be confusing to have blocks in the switch that did not execute. So, no, we should not allow every block to connect inside the switch block. That said, we should let the vspace block connect, as it is useful for formatting code and is not executed, so there would be no confusion.

from musicblocks.

SamarthBagga avatar SamarthBagga commented on June 28, 2024

I'll start work on this.

from musicblocks.

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.