View Issue Details

Category
整備班:YAYA
SeverityminorReproducibilityalways 
Status closed 
Summary0000378: When a nonoverlap function contains a -- with nothing after it, only the top output candidate will ever be chosen
DescriptionExample : nonoverlap
{
"1"
"2"
"3"
--
}

This function will only ever output "1"
If you add another output candidate after the --, it will work as expected and the top output candidates will be output randomly (with nonoverlap), along with whatever you added after the --

This has caused problems for a ghost migrating from AYA that had some stray -- that were not commented out by mistake. It ran fine on AYA, but had troubles upon changing to YAYA.
TagsNo tags attached.
Attach Tags

Activities

guest

2021-11-30 19:05

reporter   ~0000954

Are you using the latest version of yaya?
Everything works fine with me
a.gif (8,359 bytes)   
a.gif (8,359 bytes)   

guest

2021-11-30 19:11

reporter   ~0000955

https://github.com/ponapalt/yaya-shiori/releases

guest

2021-11-30 19:40

reporter   ~0000956

Last edited: 2021-12-03 09:43

View 3 revisions

I'm not the reporter.
I ran the following code with YAYA Tc566-1 and reproduced the bug.
(only ever output "1")

```
Example : nonoverlap
{
  "1"
  "2"
  "3"
  --
}
```

The following code worked fine.

```
Example : nonoverlap
{
  "1"
  "2"
  "3"
}
```

By the way, MantisBT is hard to use...
Is there any way to write in plain text?

guest

2021-12-01 00:42

reporter   ~0000957

https://github.com/Taromati2/yaya-shiori/commit/f03ac7f040ef3dfb1e31cc958aa8af5eda4c4776
fixed
Please wait for the release of the latest version of yaya

guest

2021-12-01 03:58

reporter   ~0000958

Ah damn, I hadn't realized that my code was not showing up correctly, sorry about that. Is there a better way for me to share pieces of code here? I suppose in this case I could have made a screenshot...
For posterity, this is what the actual code was supposed to look like
image.png (2,267 bytes)   
image.png (2,267 bytes)   

ponapalt

2021-12-03 09:45

administrator   ~0000973

Tc566-2

Note : disabled markdown formatting feature. You can write plaintext freely.

Issue History

Date Modified Username Field Change
2021-11-30 15:00 guest New Issue
2021-11-30 19:05 guest Note Added: 0000954
2021-11-30 19:05 guest File Added: a.gif
2021-11-30 19:11 guest Note Added: 0000955
2021-11-30 19:40 guest Note Added: 0000956
2021-12-01 00:42 guest Note Added: 0000957
2021-12-01 03:58 guest Note Added: 0000958
2021-12-01 03:58 guest File Added: image.png
2021-12-03 09:40 ponapalt Note Edited: 0000956 View Revisions
2021-12-03 09:43 ponapalt Note Edited: 0000956 View Revisions
2021-12-03 09:45 ponapalt Assigned To => ponapalt
2021-12-03 09:45 ponapalt Status new => closed
2021-12-03 09:45 ponapalt Resolution open => fixed
2021-12-03 09:45 ponapalt Note Added: 0000973