saeaadl / aadlv2.2

SAE AADL core language, version 2.2
1 stars 0 forks source link

Typos in example on page 220 #21

Closed AaronGreenhouse closed 5 years ago

AaronGreenhouse commented 6 years ago

The example that starts on page 220 uses the wrong delimiters for the record terms. It uses parens () instead of brackets [].

mine::Position => ( x => 3; y => 4;);

should be

mine::Position => [x => 3; y => 4;];

Similarly,

mine::Car_Name => ( US => “Rabbit”; Germany => “Golf”; );

should be

mine::Car_Name => [ US => “Rabbit”; Germany => “Golf”; ];