OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000217OMNeT++simulation kernelpublic2010-11-29 15:482011-02-17 09:06
Reporterzbojthe 
Assigned Toandras 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.1 
Target VersionFixed in Version4.2b1 
Summary0000217: NED: wrong evaluetion context when deep parameter assigment used
DescriptionEXAMPLE:

...
    submodules:
        srvHost[numCli]: ThroughputServer {
            parameters:
                wlan.mac.address = "20:00:00:00:00:0"+string(index);
                mobility.x = 350 * index / numCli;
        }
...

index and numCli do not refer to srvHost as they should, but to mobility.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000389)
andras (administrator)
2011-02-17 09:06

Parameter references, the "index" operator, etc are now evaluated in the right context (where the expression occurs).

- Issue History
Date Modified Username Field Change
2010-11-29 15:48 zbojthe New Issue
2011-02-17 09:06 andras Note Added: 0000389
2011-02-17 09:06 andras Status new => resolved
2011-02-17 09:06 andras Fixed in Version => 4.2b1
2011-02-17 09:06 andras Resolution open => fixed
2011-02-17 09:06 andras Assigned To => andras


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker