David Stone

Results 14 issues of David Stone

The documentation states > The protocol message to tell you that it's time for you to make a decision is: > > |request|REQUEST In practice, however, the message arrives *after*...

https://replay.pokemonshowdown.com/gen3ou-1669091959 shows that only one of the incoming Shedinja faint to Spikes on the field, the other gets a free pass. Not sure if the bug is broader than I...

The following translation unit has several problems: ``` template concept one = true; template concept two = true; auto accepts_1 = [](one auto) {}; auto should_reject_1 = [](one auto) {};...

The following code warns for `f` but not for `g` with `-Wunused-parameter`: ``` void f(int x [[maybe_unused]], auto) { } void g(int x [[maybe_unused]]) { } ``` outputting: ``` :1:12:...

help wanted

``` template int c = 1; template concept c_wrapper = c; static_assert(c_wrapper); static_assert(c_wrapper); static_assert(c_wrapper); static_assert(c_wrapper); ``` This fails to diagnose the unexpanded parameter pack `Ts` in `c_wrapper`. Instead, it seems...

The following code: ``` struct s { int x; }; decltype(s()) f(); auto x = (f()).x; ``` Gives the following assertion failure: ``` clang-10: /home/david/llvm-concepts/clang/lib/Sema/SemaExprMember.cpp:510: clang::ExprResult clang::Sema::ActOnDependentMemberExpr(clang::Expr *, clang::QualType, bool,...

libstdc++ uses __cpp_concepts to check if concepts are enabled. Unfortunately, it is going off a very old version of concepts that did not require parenthesizing expressions that are not just...

enhancement

This occurs in battle and in replays. This is occurring on Firefox on Linux. On the opponent's side, everything displays normally. On my side, I see my username, but I...

Tested on Firefox on Linux. Example reproduction: Generation 2, Species Sunflora, Level 80. Set Attack EV to 240. Click on the slider bar bulb. Left arrow reduces EVs by 4,...

https://github.com/smogon/pokemon-showdown/blob/master/sim/SIM-PROTOCOL.md The documentation says: `|rule|RULE: DESCRIPTION` > Will appear multiple times, one for each > ``` > |clearpoke > |poke|PLAYER|DETAILS|ITEM > |poke|PLAYER|DETAILS|ITEM > ... > |teampreview > ``` > These...