Using "%s" as an argument name causes unexpected behavior
See original GitHub issueExpected Behavior
- Creating a custom procedure with “%s” as an argument name should work
Actual Behavior
- Causes a number of exceptions that lead to instability
Steps to Reproduce
- Click the “Make a block” button
- Enter
%s
as the argument name - Click “ok”
Demo
Operating System and Browser
Mac OS 10.13.2 | Chrome Version 63.0.3239.132 (Official Build) (64-bit)
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Unexpected behavior calling a function with positioned ...
It seems to be that your error comes from mixing named and positional arguments in the same call. You can't do name(~forename="Jane", ...
Read more >Python: Unexpected behavior when function argument is ...
In the code below I assign a list of lists A. I call it into a function named modify(M) that modifies M. As...
Read more >Undefined behavior - Wikipedia
In computer programming, undefined behavior (UB) is the result of executing a program whose behavior is prescribed to be unpredictable, ... Not to...
Read more >Solved: Re: Configure an alert on Service catalog variable ...
(Having names with uppercase, spaces, question marks is not best practice and does cause unexpected behavior. So if the name is indeed System...
Read more >Implicit arguments — Coq 8.16.1 documentation
The command has indeed failed with message: Argument n is a trailing implicit, so it can't be declared non maximal. Please use {...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Kenny2github It actually does it for anything starting with “%” even if it isn’t an argument placeholder.
Moved to LLK/scratch-blocks#1368