Giter Site home page Giter Site logo

treesharp's People

Contributors

apocdev avatar

Watchers

 avatar

treesharp's Issues

Switch missing return and falls through to default.

The following lines of code that set the selection inside the switch statement 
will always fall through to assigning the default selection if there is one, 
even when the switch is found successfully.  There needs to be a return as 
noted below.

Switch.cs: lines 81-

            if (Arguments != null)
            {
                // Make sure we don't do this query twice.
                SwitchArgument<T> arg = Arguments.First(a => a.RequiredValue.Equals(value));
                if (arg != null)
                {
                    Selection = arg.Branch;
                    // NEEDS return statement added here "return;"
                }
            }

            if (Default != null)
            {
                Selection = Default;
            }

Original issue reported on code.google.com by [email protected] on 30 Nov 2012 at 12:52

DecoratorContinue

There seems to be a typo in the DecoratorContinue class, the first line of the 
Execute() function should be:
if (CanRun(context))

originally this statement is negated (!) which reverses the logic of the 
CanRunDecoratorDelegate.

Original issue reported on code.google.com by [email protected] on 10 Jul 2011 at 11:15

Contact info

Hi!

Can I contact you? Send me e-mail to mail[at]artemkoval[dot]com.

Best regards, Artem Koval.

Original issue reported on code.google.com by [email protected] on 2 May 2011 at 7:27

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.