Bug #7310
buffer scope in constructor/destructor is not computed correctly
Start date:
Due date:
% Done:
100%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
History
#2 Updated by Constantin Asofiei about 3 years ago
The issue is when there is an explicit buffer defined with the same name as a buffer in a constructor or destructor:
constructor public Foo():
def buffer book for book.
find first book.
end.
destructor Foo():
def buffer book for book.
find first book.
end.
method public void m2():
def buffer book for book.
find first book.
end.
method public void m1():
find first book.
end.
The default buffer book in m1 is not being emitted as a class field.
#3 Updated by Constantin Asofiei about 3 years ago
- Assignee set to Constantin Asofiei
- % Done changed from 0 to 100
- Status changed from New to Review
The fix is in 7199c/14558
#4 Updated by Greg Shah about 3 years ago
- Status changed from Review to Test
Code Review Task Branch 7199c Revision 14558
No objections.
#5 Updated by Constantin Asofiei about 3 years ago
7199c was merged to trunk rev 14610 and archived
#6 Updated by Greg Shah about 3 years ago
- Status changed from Test to Closed