Commit ab2d2b71 authored by Markus Klinik's avatar Markus Klinik
Browse files

add types to variables

parent e8e6cefc
......@@ -123,8 +123,8 @@ set[Message] extendsClass(M3 model, str classNameA, str classNameB)
{
try
{
classA = findClass(model, classNameA);
classB = findClass(model, classNameB);
loc classA = findClass(model, classNameA);
loc classB = findClass(model, classNameB);
if( ! (classB in model.extends[classA]) )
{
return { error("<classNameA> should extend <classNameB>", classA) };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment