Actions
Bug #7628
closedMethods 'dist' and 'range' are not supported in data sections
Start date:
10/25/2016
Due date:
% Done:
100%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
2.4.0
Description
Subject. The code below gives error: (MTRubyError) Method 'range' is not available in data sections
.
data {
int32_dist = dist(range(:value => 0, :bias => 25),
range(:value => 1..2, :bias => 25),
range(:value => 0xffffFFFE..0xffffFFFF, :bias => 50))
word int32_dist.next_value,
int32_dist.next_value,
int32_dist.next_value
}
It must be supported.
Updated by Andrei Tatarnikov about 8 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed: r7266.
Example and unit test: r7267.
Updated by Andrei Tatarnikov about 8 years ago
- Status changed from Resolved to Closed
- Published in build set to 2.4.0
Actions