
On Thu, Nov 15, 2007 at 11:09:46PM -0800, David T. Perkins wrote:
Many years ago I looked this up and came to the interpretation of the ASN.1 spec that you could not have two imports from the same module. However, even if you come to the opposite interpretation, the message that "identifier `OBJECT-TYPE' imported..." is incorrect, since it was used.
I have put this on the TODO list.
I ran into another issue today that was not reported as an error at low error levels. Sorry, I don't have the MIB in front of me. However, it is easy to reproduce. It was a notification definition where the items in the OBJECTS clause were simply OID definitions, such as
a OBJECT IDENTIIFER ::= { foo 1 }
bar NOTIFICATION-TYPE OBJECTS { a } ....
smilint currently says
object `a' of notification `bar' must be a scalar or column
and this error message has error level 3 - are you suggesting to make this error level 2? This would make sense for me.
/js