[Bro-Dev] #571: topic/jsiwek/nested-record-coerce-fix

Bro Tracker bro at tracker.bro-ids.org
Fri Aug 26 12:09:34 PDT 2011


#571: topic/jsiwek/nested-record-coerce-fix
---------------------------+------------------------
 Reporter:  jsiwek         |      Owner:
     Type:  Merge Request  |     Status:  new
 Priority:  Normal         |  Milestone:  Bro1.6
Component:  Bro            |    Version:  git/master
 Keywords:                 |
---------------------------+------------------------
 This branch is my attempt at fixing the type clash error reported by the
 following test case:

 {{{
 type Foo: record {
         i: interval &default=1hr;
         s: string &optional;
 };

 type FooContainer: record {
         c: count;
         f: Foo &optional;
 };

 function foo_func(fc: FooContainer)
         {
         print fc;
         }

 foo_func([$c=1, $f=[$i=2hrs]]);
 }}}

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



More information about the bro-dev mailing list