[Bro-Dev] #866: Problem with set initializers

Bro Tracker bro at tracker.bro-ids.org
Tue Aug 14 19:15:35 PDT 2012


#866: Problem with set initializers
----------------------+------------------------
 Reporter:  seth      |      Owner:
     Type:  Problem   |     Status:  new
 Priority:  Normal    |  Milestone:  Bro2.2
Component:  Bro       |    Version:  git/master
 Keywords:  language  |
----------------------+------------------------
 This code doesn't work:

 {{{
 const blah: set[string] = set("test1") &redef;

 redef blah += {
         "test2",
         "test3",
 };
 }}}

 But this does:

 {{{
 const blah: set[string] = { "test1" } &redef;

 redef blah += {
         "test2",
         "test3",
 };
 }}}

 There is definitely still some trouble with the two different set
 initializers.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/866>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list