Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有几个 bad case 会报错:Cannot read properties of undefined (reading 'match') #126

Closed
fuxu opened this issue Nov 22, 2023 · 0 comments · Fixed by #139
Closed

有几个 bad case 会报错:Cannot read properties of undefined (reading 'match') #126

fuxu opened this issue Nov 22, 2023 · 0 comments · Fixed by #139
Labels
bug Something isn't working
Milestone

Comments

@fuxu
Copy link

fuxu commented Nov 22, 2023

  • 使用 `||` 时,title 会先转化为布尔值判断,为 true 时返回 title,false 返回 'title'
  • ### 5.1 “Attention Is All You Need”
  • How it works: The novel HTTP/2 ‘Rapid Reset’ DDoS attack

以上三个 case,在 0.7.1 中,会抛出 Cannot read properties of undefined (reading 'match') 的错误

在 Playground 里面也可以复现

@Jinjiang Jinjiang added the bug Something isn't working label Nov 22, 2023
@Jinjiang Jinjiang added this to the Next minor release milestone Dec 17, 2023
@Jinjiang Jinjiang removed this from the Next minor release milestone Jan 1, 2024
@Jinjiang Jinjiang added this to the Next minor release milestone Jan 19, 2024
Jinjiang added a commit that referenced this issue Feb 1, 2024
@Jinjiang Jinjiang linked a pull request Feb 1, 2024 that will close this issue
Jinjiang added a commit that referenced this issue Feb 1, 2024
@Jinjiang Jinjiang mentioned this issue Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants