Comments (8)
Should have said, version 3.3.09 running in the TASTE VM.
from asn1scc.
Hi,
Bug was fixed in my latest commit
from asn1scc.
@shd01x : I have compiled the latest version (3.3.18) and updated it in the VM. If you run Update-TASTE.sh this new version will be installed and you can try again
Thanks George for the fix
from asn1scc.
@maxime-esa : Thanks very much, this works now :)
from asn1scc.
Ah. I spoke too soon.
My original test case passes, but if I add a third module the problem reappears:
----------------------------------------------------------------------------------------
-- Test module
----------------------------------------------------------------------------------------
Test-Dataview DEFINITIONS ::=
BEGIN
IMPORTS
T-SecondModule-Type1 FROM SecondModule-Dataview;
T-Test ::= SEQUENCE {
type1Thing T-SecondModule-Type1{INTEGER}
}
END
----------------------------------------------------------------------------------------
-- Second module
----------------------------------------------------------------------------------------
SecondModule-Dataview DEFINITIONS ::=
BEGIN
IMPORTS
T-ThirdModule-Type2 FROM ThirdModule-Dataview;
T-SecondModule-Type3 ::= INTEGER
T-SecondModule-Type4 ::= INTEGER
T-SecondModule-Type1{TypeParameter} ::= SEQUENCE {
val1 T-SecondModule-Type3 ,
val2 T-ThirdModule-Type2 ,
val3 T-SecondModule-Type4 ,
value TypeParameter
}
END
----------------------------------------------------------------------------------------
-- Third module
----------------------------------------------------------------------------------------
ThirdModule-Dataview DEFINITIONS ::=
BEGIN
T-ThirdModule-Type2 ::= INTEGER(0 .. 33)
END
Output of asn1scc:
assert@tastevm:~/asn1scc_bug$ asn1.exe test.asn second.asn third.asn
Duplicate definition: T-SecondModule-Type3
from asn1scc.
Please try again the latest version 3.19
from asn1scc.
Thanks, compiled in the TASTE VM, run again Update-TASTE.sh to get this new version
from asn1scc.
Awesome! Both the above test cases, and my mad ASN.1 model, now compile perfectly.
Thanks again guys for your very quick work on this. Will buy the beers next time I'm at ESTEC :)
from asn1scc.
Related Issues (20)
- [SCALA] wrong method call HOT 2
- typedef byte compatibility issue HOT 1
- [Feature request] "Namespaced" include paths HOT 1
- Lack of two declarations HOT 1
- C global constant variable name collision HOT 2
- PER Real codec does not handle special cases according to standard HOT 1
- ACN optional choice with determinant HOT 5
- ACN optional choice with determinant and present-when HOT 2
- Failure when encoding/decoding messages in Streaming Mode with large Bit Strings (and smaller BitStream buffers) HOT 3
- Function optimisation in the RTL HOT 2
- Support for Explicit Bit Naming in XML Output and Python/XML Backends HOT 1
- --field-prefix AUTO Flag Causes Command to Hang HOT 1
- XER decoding and -slim
- pErrCode not set in ACN decoder for OCTET STRING with external size HOT 1
- Telecommunications support HOT 1
- Append Functions are not hierarchical
- ACN Support for Simple Arithmetic on Size Determinant Values HOT 1
- Inefficient and Incorrect Generated Code for CHOICEs HOT 1
- BOOLEAN ACN Encoding Issue HOT 1
- BOOLEAN with true-value check swapped HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asn1scc.