Fixing bug with records sometimes unnecessarily coerced on assignment.

This commit is contained in:
Robin Sommer 2011-04-17 10:42:51 -07:00
parent 1cbde793d8
commit 58f86ae55d
4 changed files with 16 additions and 3 deletions

View file

@ -0,0 +1 @@
XXX, XXX

View file

@ -0,0 +1,12 @@
# @TEST-EXEC: bro %INPUT >output
# @TEST-EXEC: btest-diff output
type State: record {
host: string &default="NOT SET";
};
global session: State;
global s: State;
s = session;
s$host = "XXX";
print s$host, session$host;