mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
parent
1d1ca92662
commit
4237239325
3 changed files with 6 additions and 1 deletions
|
@ -3202,7 +3202,7 @@ ValPtr EnumVal::DoClone(CloneState* state) {
|
|||
return {NewRef{}, this};
|
||||
}
|
||||
|
||||
void TypeVal::ValDescribe(ODesc* d) const { d->Add(type->AsTypeType()->GetType()->GetName()); }
|
||||
void TypeVal::ValDescribe(ODesc* d) const { type->AsTypeType()->GetType()->Describe(d); }
|
||||
|
||||
ValPtr TypeVal::DoClone(CloneState* state) {
|
||||
// Immutable.
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
[v=aoeu, valid=T]
|
||||
type
|
||||
double
|
||||
vector of int
|
||||
|
|
|
@ -7,4 +7,7 @@ event zeek_init()
|
|||
# Try a couple of functions that take types
|
||||
print from_json("\"aoeu\"", string);
|
||||
print type_name(string);
|
||||
|
||||
print double;
|
||||
print vector of int;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue