<p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22845">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22845/1//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22845/1//COMMIT_MSG@13">Patch Set #1, Line 13:</a> <code style="font-family:monospace,monospace"></code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Fixes: <commit hash></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Done</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22845/1/library/Osmocom_Gb_Types.ttcn">File library/Osmocom_Gb_Types.ttcn:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22845/1/library/Osmocom_Gb_Types.ttcn@1026">Patch Set #1, Line 1026:</a> <code style="font-family:monospace,monospace">template IMSI_BSSGP tr_BSSGP_IMSI(template hexstring imsi) := {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">why that change?  The template does not return a * type wild card, so it is by definition always 'pr […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I tried various things, including making the function in line 1050 non-private but that didn't compile.<br>tbh I don't really understand the templating restrictions in ttcn3 and how they interact so I reverted the parts of the original commit until it compiled and passed again.</p><p style="white-space: pre-wrap; word-wrap: break-word;">But you're right, the change below on its own seems to fix the issue and after reading Ch. 15.8 of the ttcn3 core language it sort of makes sense why: omit only allows either a concrete value or omit, but not a template that matches on  '?'.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22845">change 22845</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22845"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I85676e96f8d32a9d2c7deadc1d66707b6b8697d0 </div>
<div style="display:none"> Gerrit-Change-Number: 22845 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 11 Feb 2021 14:17:36 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>