[
https://bro-tracker.atlassian.net/browse/BIT-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18901#comment-18901
]
Christian Struck commented on BIT-1288:
---------------------------------------
actually I'm using it in a record.
{code:bro}
type SomeType: record {
...;
priority: int &default=0;
};
{code}
> int: &default value has inconsistent type (0 and int)
> -----------------------------------------------------
>
> Key: BIT-1288
> URL: https://bro-tracker.atlassian.net/browse/BIT-1288
> Project: Bro Issue Tracker
> Issue Type: Problem
> Components: Bro
> Affects Versions: git/master
> Environment: Debian 7
> Reporter: Christian Struck
> Labels: language
> Fix For: 2.4
>
> Attachments: test.bro
>
>
> It seems that default >=0 for integer are not interpreted as int and
> therefore not assignable. for the zero value -0 works, but for -1 is not 1.
--
This message was sent by Atlassian JIRA
(v6.4-OD-09-008#64005)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev