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

[TIMOB-10837] use return with the last statement for blocks #5210

Merged
merged 1 commit into from Apr 9, 2014

Conversation

salachi
Copy link
Contributor

@salachi salachi commented Jan 11, 2014

If passed in value is not an expression but a statement block, extract the last statement and add prepend 'return'.

https://jira.appcelerator.org/browse/TIMOB-10837

@hieupham007
Copy link
Contributor

Code reviewed and functionally tested. Request accepted

hieupham007 added a commit that referenced this pull request Apr 9, 2014
[TIMOB-10837] use return with the last statement for blocks
@hieupham007 hieupham007 merged commit dfd0aff into tidev:master Apr 9, 2014
farfromrefug pushed a commit to Akylas/titanium_mobile that referenced this pull request Aug 15, 2014
[TIMOB-10837] use return with the last statement for blocks
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.

None yet

2 participants