This website works better with JavaScript
Home
Explore
Help
Register
Sign In
amber
/
amber
Watch
10
Star
10
Fork
9
Files
Issues
45
Pull Requests
0
Wiki
Labels
Milestones
New Issue
#1242
Inlined empty closures do not properly reflect that they return nil
Closed
opened
4 years ago
by
herby
· 0 comments
Herby Vojčík
commented
4 years ago
This code
|x| x := 2. x := true ifTrue: []. x
actually returns
2
.
This code ``` |x| x := 2. x := true ifTrue: []. x ``` actually returns `2`.
Herby Vojčík
referenced this issue from a commit
4 years ago
Inlined empty closures return nil. Fix #1242.
herby
closed
4 years ago
Sign in
to join this conversation.
Labels
Clear labels
No Label
Milestone
Clear milestone
No Milestone
Assignee
Clear assignee
No assignee
Herby Vojčík
1 Participants
Write
Preview
Loading...
Cancel
Save
There is no content yet.
This code
actually returns
2
.