godot/modules/gdscript
Daniel Spaniol 79176decd5 Require return in all match branches
Before the parser only checked if the catch-all branch has a return in
order to determine if the entire match block has a return.

This code block was assumed to always return.

    match value:
        "test":
            print("test")
        _:
            return

Now as soon as one of the branches has no return, the entire match block
is marked to not have a return.
2019-02-20 21:38:11 +01:00
..
doc_classes doc: Use HTTPS for docs.godotengine.org and point to latest branch 2018-11-05 08:46:27 +01:00
editor Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
config.py SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
gdscript_compiler.cpp GDScript: Remove unused switch, case and do CF keywords 2019-02-20 14:05:08 +01:00
gdscript_compiler.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_editor.cpp Merge pull request #25715 from hpvb/fix-25598 2019-02-16 14:39:57 +01:00
gdscript_function.cpp Fix wrong error messages for invalid arguments when calling functions through call 2019-01-31 17:02:18 +02:00
gdscript_function.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
gdscript_functions.cpp GDScript: Fix return value of "lerp" builtin 2019-01-18 10:47:04 +01:00
gdscript_functions.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_parser.cpp Require return in all match branches 2019-02-20 21:38:11 +01:00
gdscript_parser.h GDScript: Remove unused switch, case and do CF keywords 2019-02-20 14:05:08 +01:00
gdscript_tokenizer.cpp GDScript: Remove unused switch, case and do CF keywords 2019-02-20 14:05:08 +01:00
gdscript_tokenizer.h GDScript: Remove unused switch, case and do CF keywords 2019-02-20 14:05:08 +01:00
gdscript.cpp Fix exported property values being lost if base GDScript fails to parse 2019-02-14 02:36:19 +01:00
gdscript.h Merge pull request #24877 from neikeq/issue-24280 2019-01-10 18:02:57 +01:00
register_types.cpp Merge pull request #24883 from akien-mga/resourceformat-unregister 2019-01-10 14:25:09 +01:00
register_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00