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

支持if else后面只有一条语句、没有大括号的情况 #228

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

StKelen
Copy link

@StKelen StKelen commented Sep 27, 2021

原有的条件编译在遇到else后面没有大括号的情况会导致编译出现错误:
image
现在改动jsx-compiler支持了这种情况。

@SoloJiang
Copy link
Contributor

加一下 test case 吧

Copy link
Author

@StKelen StKelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已添加test case

@SoloJiang SoloJiang requested a review from cryzzchen September 29, 2021 03:45
@ChrisCindy
Copy link
Contributor

同步一下 changelog 和 package.json 中的版本号

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants