[ast] fix str() to map assignment
Assigning the result of str() to a map broke after https://github.com/iovisor/bpftrace/pull/299 landed. This commit fixes it by making sure our call has a type before the final pass of the semantic analyzer. Also moved the default strlen to bpftrace.h to make sure the value is correctly set on unit tests.
Showing
Please register or sign in to comment