Changeset 8409


Ignore:
Timestamp:
Jan 20, 2016 11:30:39 AM (4 years ago)
Author:
jsten
Message:

Enabled printing of component names in error messages by default. Ticket #2512.

Location:
trunk/Compiler
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/ModelicaFlatTree/src/jastadd/FlatUtil.jrag

    r8311 r8409  
    309309    }
    310310
    311     syn String FQName.scalarName() = name();
    312     eq FQNameFull.scalarName() {
     311    syn String FQName.scalarName() = scalarName(true);
     312    syn String FQName.scalarName(boolean eval) = name();
     313    eq FQNameFull.scalarName(boolean eval) {
    313314        boolean scalar = scalarized;
    314315        scalarized = true;
    315         String res = prefixName(0, null, true, -1);
     316        String res = prefixName(0, null, eval, -1);
    316317        scalarized = scalar;
    317318        return res;
  • trunk/Compiler/ModelicaFrontEnd/src/jastadd/errorcheck/ErrorCheck.jrag

    r8400 r8409  
    551551    inh InstComponentDecl ASTNode.errorEnclosingComponent();
    552552    eq InstNode.getChild().errorEnclosingComponent() = containingInstComponent();
     553    eq InstComponentDecl.getChild().errorEnclosingComponent() {
     554        if (isRedeclared() || getComponentDecl().hasRedeclare()) {
     555            return errorEnclosingComponent();
     556        } else {
     557            return containingInstComponent();
     558        }
     559    }
     560    eq InstComponentDecl.getFAbstractEquation().errorEnclosingComponent() = this;
     561    eq InstAssignable.getBindingFExp().errorEnclosingComponent() = myInstValueMod().errorEnclosingComponent();
     562   
    553563    eq FlatRoot.getChild().errorEnclosingComponent() = null;
    554564    eq InstRoot.getChild().errorEnclosingComponent() = null;
     
    557567    syn String ASTNode.errorComponentName() {
    558568        InstComponentDecl parent = errorEnclosingComponent();
    559         return parent == null ? null : parent.qualifiedName();
     569        return parent == null ? null : parent.getFQName().scalarName(false);
    560570    }
    561571
  • trunk/Compiler/ModelicaFrontEnd/src/java/org/jmodelica/util/OptionRegistry.java

    r8408 r8409  
    389389             OptionType.compiler,
    390390             Category.user,
    391              false,
     391             true,
    392392             "If enabled, the compiler will include the name of the component where the error was found, if applicable."),
    393393        FILTER_WARNINGS
  • trunk/Compiler/ModelicaFrontEnd/src/test/CheckTests.mo

    r8400 r8409  
    1591591 errors found:
    160160
    161 Error at line 66, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', BINDING_EXPRESSION_TYPE_MISMATCH:
     161Error at line 66, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', BINDING_EXPRESSION_TYPE_MISMATCH,
     162In component a:
    162163  The binding expression of the variable x does not match the declared type of the variable
    163164")})));
     
    2302311 errors found:
    231232
    232 Error at line 137, column 18, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', BINDING_EXPRESSION_TYPE_MISMATCH:
     233Error at line 137, column 18, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', BINDING_EXPRESSION_TYPE_MISMATCH,
     234In component a:
    233235  The binding expression of the variable x does not match the declared type of the variable
    234236")})));
     
    133213342 errors found:
    13331335
    1334 Warning at line 1275, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', TYPE_MISMATCH_IN_EXPRESSION:
     1336Warning at line 1275, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', TYPE_MISMATCH_IN_EXPRESSION,
     1337In component a:
    13351338  Found error in disabled conditional:
    13361339  Type error in expression: cat(1, {x[1]}, x[2:end] .- 1) .* x
     
    136413672 errors found:
    13651368
    1366 Error at line 1306, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', TYPE_MISMATCH_IN_EXPRESSION:
     1369Error at line 1306, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', TYPE_MISMATCH_IN_EXPRESSION,
     1370In component a:
    13671371  Type error in expression: cat(1, {x[1]}, x[2:end] .- 1) .* {x, x}
    13681372    type of 'cat(1, {x[1]}, x[2:end] .- 1)' is Real[1]
  • trunk/Compiler/ModelicaFrontEnd/src/test/ConnectTests.mo

    r8380 r8409  
    87871 errors found:
    8888
    89 Error at line 76, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ConnectTests.mo':
     89Error at line 76, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ConnectTests.mo',
     90In component c2:
    9091  Cannot find class or component declaration for cc
    9192")})));
  • trunk/Compiler/ModelicaFrontEnd/src/test/InnerOuterTests.mo

    r8400 r8409  
    695695            errorMessage="
    6966961 errors found:
    697 Error at line 590, column 11, in file '...':
     697Error at line 590, column 11, in file '...',
     698In component a:
    698699  Cannot use component y in inner 'inner R r', because it is not present in outer 'outer R_0 r'
    699700
     
    7337342 errors found:
    734735
    735 Error at line 622, column 11, in file '...':
     736Error at line 622, column 11, in file '...',
     737In component b.a:
    736738  Cannot find class or component declaration for y
    737739
    738 Error at line 629, column 11, in file '...':
     740Error at line 629, column 11, in file '...',
     741In component b:
    739742  Cannot use component y in inner 'inner R r', because it is not present in outer 'inner outer R_0 r'
    740743
     
    7717741 errors found:
    772775
    773 Error at line 665, column 11, in file '...':
     776Error at line 665, column 11, in file '...',
     777In component a:
    774778  Cannot use component k in inner 'inner R r', because it is not present in outer 'outer R_0 r'
    775779")})));
     
    9329361 errors found:
    933937
    934 Warning at line 569, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/InnerOuterTests.mo':
     938Warning at line 569, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/InnerOuterTests.mo',
     939In component b:
    935940  Generated missing inner declaration for 'outer Real r'
    936941")})));
  • trunk/Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo

    r8400 r8409  
    145414541 errors found:
    14551455
    1456 Error at line 1440, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_DECLARATION:
     1456Error at line 1440, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_DECLARATION,
     1457In components:
     1458    x[1].y[1]
     1459    x[1].y[2]
     1460    x[2].y[1]
     1461    x[2].y[2]
    14571462  Array size mismatch in declaration of x, size of declaration is [2] and size of binding expression is [3]
    14581463")})));
     
    147814831 errors found:
    14791484
    1480 Error at line 1464, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_DECLARATION:
     1485Error at line 1464, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_DECLARATION,
     1486In components:
     1487    x[1].y[1]
     1488    x[1].y[2]
     1489    x[2].y[1]
     1490    x[2].y[2]
    14811491  Array size mismatch in declaration of x, size of declaration is [2] and size of binding expression is [2, 2]
    14821492")})));
     
    153215421 errors found:
    15331543
    1534 Error at line 1522, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION:
     1544Error at line 1522, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION,
     1545In components:
     1546    x[1]
     1547    x[2]
    15351548  Array size mismatch in modification of x, expected size is [2, 2] and size of binding expression is [2, 3]
    15361549")})));
     
    155615691 errors found:
    15571570
    1558 Error at line 1546, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION:
     1571Error at line 1546, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION,
     1572In components:
     1573    x[1]
     1574    x[2]
    15591575  Array size mismatch in modification of x, expected size is [2, 2] and size of binding expression is [2, 2, 2]
    15601576")})));
     
    158015961 errors found:
    15811597
    1582 Error at line 1566, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION:
     1598Error at line 1566, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION,
     1599In components:
     1600    x[1].y[1]
     1601    x[1].y[2]
     1602    x[2].y[1]
     1603    x[2].y[2]
    15831604  Array size mismatch in modification of the attribute start for the variable x, expected size is [2] and size of start expression is [3]
    15841605")})));
     
    160416251 errors found:
    16051626
    1606 Error at line 1590, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION:
     1627Error at line 1590, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION,
     1628In components:
     1629    x[1].y[1]
     1630    x[1].y[2]
     1631    x[2].y[1]
     1632    x[2].y[2]
    16071633  Array size mismatch in modification of the attribute start for the variable x, expected size is [2] and size of start expression is [2, 2]
    16081634")})));
     
    162816541 errors found:
    16291655
    1630 Warning at line 1618, column 9, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH:
     1656Warning at line 1618, column 9, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH,
     1657In components:
     1658    x[1]
     1659    x[2]
    16311660  Assuming 'each' for the modification 'x(start = {1,2})'
    16321661")})));
     
    165216811 errors found:
    16531682
    1654 Error at line 1642, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION:
     1683Error at line 1642, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION,
     1684In components:
     1685    x[1]
     1686    x[2]
    16551687  Array size mismatch in modification of the attribute start for the variable x, expected size is [2, 2] and size of start expression is [2, 3]
    16561688")})));
     
    167617081 errors found:
    16771709
    1678 Error at line 1666, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION:
     1710Error at line 1666, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION,
     1711In components:
     1712    x[1]
     1713    x[2]
    16791714  Array size mismatch in modification of the attribute start for the variable x, expected size is [2, 2] and size of start expression is [2, 2, 2]
    16801715")})));
     
    200320381 errors found:
    20042039
    2005 Warning at line 1993, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH:
     2040Warning at line 1993, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH,
     2041In components:
     2042    c[1]
     2043    c[2]
    20062044  Assuming 'each' for the modification 'a(x(start = 1:3))'
    20072045")})));
     
    203120691 errors found:
    20322070
    2033 Warning at line 2021, column 24, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH:
     2071Warning at line 2021, column 24, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH,
     2072In components:
     2073    c[1]
     2074    c[2]
    20342075  Assuming 'each' for the modification 'start = 1'
    20352076")})));
     
    217422151 warnings found:
    21752216
    2176 Warning at line 2164, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', EACH_APPLIED_ON_SCALAR:
     2217Warning at line 2164, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', EACH_APPLIED_ON_SCALAR,
     2218In components:
     2219    c[1]
     2220    c[2]
    21772221  The 'each' keyword should not be applied to a modification of a scalar component: each a(x = 1:3)
    21782222")})));
     
    223022742 errors found:
    22312275
    2232 Error at line 2221, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION:
     2276Error at line 2221, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION,
     2277In components:
     2278    c[1]
     2279    c[2]
    22332280  Array size mismatch in modification of the attribute start for the variable x, expected size is [2, 3] and size of start expression is [3]
    22342281
    2235 Error at line 2221, column 35, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION:
     2282Error at line 2221, column 35, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION,
     2283In components:
     2284    c[1]
     2285    c[2]
    22362286  Array size mismatch in modification of x, expected size is [2, 3] and size of binding expression is scalar
    22372287")})));
  • trunk/Compiler/ModelicaFrontEnd/src/test/NameTests.mo

    r8380 r8409  
    1171171 errors found:
    118118
    119 Error at line 106, column 4, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     119Error at line 106, column 4, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     120In component m:
    120121  Cannot find class declaration for B
    121122")})));
     
    1681691 errors found:
    169170
    170 Error at line 158, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     171Error at line 158, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     172In component a:
    171173  Cannot find class or component declaration for x
    172174")})));
     
    1901921 errors found:
    191193
    192 Error at line 180, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     194Error at line 180, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     195In component a:
    193196  Cannot find class or component declaration for y
    194197")})));
     
    2122151 errors found:
    213216
    214 Error at line 201, column 5, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     217Error at line 201, column 5, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     218In components:
     219    a1
     220    a2
    215221  Cannot find class declaration for B
    216222")})));
     
    2312371 errors found:
    232238
    233 Error at line 222, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     239Error at line 222, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     240In component c:
    234241  Cannot find class declaration for D
    235242")})));
     
    400407  Cannot find component declaration for z
    401408
    402 Error at line 386, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     409Error at line 386, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     410In component bb:
    403411  Cannot find class declaration for C
    404412
    405 Error at line 386, column 39, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     413Error at line 386, column 39, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     414In component bb:
    406415  Cannot find component declaration for y
    407416
     
    248724962 errors found:
    24882497
    2489 Error at line 2477, column 29, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     2498Error at line 2477, column 29, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     2499In component x:
    24902500  Cannot find component declaration for q
    24912501
     
    378137911 errors found:
    37823792
    3783 Error at line 3769, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo':
     3793Error at line 3769, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo',
     3794In component a:
    37843795  Duplicate component in same class: Real x
    37853796")})));
  • trunk/Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo

    r8380 r8409  
    187118711 errors found:
    18721872
    1873 Error at line 1848, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo':
     1873Error at line 1848, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo',
     1874In components:
     1875    a
     1876    b
    18741877  Operator classes are only allowed in operator records and packages in operator records
    18751878")})));
     
    220622091 errors found:
    22072210
    2208 Error at line 2196, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo':
     2211Error at line 2196, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo',
     2212In component c2:
    22092213  Short class declarations extending an operator record may only modify attributes of members of the record
    22102214")})));
     
    224622501 errors found:
    22472251
    2248 Error at line 2237, column 35, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo':
     2252Error at line 2237, column 35, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo',
     2253In component b:
    22492254  Short class declarations extending an operator record may only modify attributes of members of the record
    22502255")})));
     
    228022851 errors found:
    22812286
    2282 Error at line 2271, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo':
     2287Error at line 2271, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo',
     2288In component b:
    22832289  Short class declarations extending an operator record may only modify attributes of members of the record
    22842290")})));
     
    240324091 errors found:
    24042410
    2405 Error at line 2393, column 46, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo':
     2411Error at line 2393, column 46, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo',
     2412In component c2:
    24062413  Short class declarations extending an operator record may only modify attributes of members of the record
    24072414")})));
  • trunk/Compiler/ModelicaFrontEnd/src/test/RecordTests.mo

    r8400 r8409  
    153115311 errors found:
    15321532
    1533 Error at line 1485, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RecordTests.mo', CANNOT_INFER_ARRAY_SIZE_OF_VARIABLE:
     1533Error at line 1485, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RecordTests.mo', CANNOT_INFER_ARRAY_SIZE_OF_VARIABLE,
     1534In component d:
    15341535  Can not infer array size of the variable a
    15351536")})));
     
    156015611 errors found:
    15611562
    1562 Error at line 1523, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RecordTests.mo':
     1563Error at line 1523, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RecordTests.mo',
     1564In component d:
    15631565  Circularity in binding expression of parameter: d.b.a = b.a
    15641566")})));
  • trunk/Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo

    r8403 r8409  
    2512511 errors found:
    252252
    253 Error at line 241, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo':
     253Error at line 241, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo',
     254In component e:
    254255  Cannot find class or component declaration for z
    255256")})));
     
    3323331 errors found:
    333334
    334 Error at line 312, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo':
     335Error at line 312, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo',
     336In component e:
    335337  Cannot find class or component declaration for z
    336338")})));
     
    156615681 errors found:
    15671569
    1568 Error at line 1544, column 56, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo':
     1570Error at line 1544, column 56, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo',
     1571In component b:
    15691572  Cannot find component declaration for w
    15701573")})));
     
    160916121 errors found:
    16101613
    1611 Error at line 1587, column 62, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo':
     1614Error at line 1587, column 62, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo',
     1615In component b:
    16121616  Cannot find component declaration for w
    16131617")})));
     
    357535791 errors found:
    35763580
    3577 Error at line 3555, column 22, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo':
     3581Error at line 3555, column 22, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo',
     3582In component f:
    35783583  Cannot use component y, because it is not present in constraining type of declaration 'replaceable B b constrainedby A'
    35793584")})));
     
    365436591 errors found:
    36553660
    3656 Error at line 3634, column 22, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo':
     3661Error at line 3634, column 22, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo',
     3662In component e:
    36573663  Cannot use component y, because it is not present in constraining type of declaration 'replaceable D c constrainedby C'
    36583664")})));
     
    371637223 warnings found:
    37173723
    3718 Warning at line 3693, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', PARAMETER_MISSING_BINDING_EXPRESSION:
     3724Warning at line 3693, column 12, in file 'Compiler/ModelicaFrontEd/src/test/RedeclareTests.mo', PARAMETER_MISSING_BINDING_EXPRESSION,
     3725In component a[:]:
    37193726  The parameter a[:].b does not have a binding expression
    37203727
    3721 Compliance warning at line 3693, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', PARTIALLY_SUPPORTED_STRING_PARAMETERS:
     3728Compliance warning at line 3693, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', PARTIALLY_SUPPORTED_STRING_PARAMETERS,
     3729In component a[:]:
    37223730  String parameters are only partially supported
    37233731
     
    600960171 errors found:
    60106018
    6011 Error at line 5660, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo':
     6019Error at line 5660, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo',
     6020In component a:
    60126021  Cannot find class or component declaration for y
    60136022")})));
  • trunk/Compiler/ModelicaFrontEnd/src/test/TypeTests.mo

    r8400 r8409  
    104710471 errors found:
    10481048
    1049 Error at line 1035, column 8, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo':
     1049Error at line 1035, column 8, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo',
     1050In component a2:
    10501051  Recursive class structure
    10511052")})));
     
    107110721 errors found:
    10721073
    1073 Error at line 1060, column 3, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo':
     1074Error at line 1060, column 3, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo',
     1075In component a:
    10741076  Recursive class structure
    10751077")})));
     
    109510971 errors found:
    10961098
    1097 Error at line 1083, column 8, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo':
     1099Error at line 1083, column 8, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo',
     1100In component a2:
    10981101  Recursive class structure
    10991102")})));
     
    111411171 errors found:
    11151118
    1116 Error at line 1103, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo':
     1119Error at line 1103, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo',
     1120In component a:
    11171121  Recursive class structure
    11181122")})));
  • trunk/Compiler/ModelicaMiddleEnd/src/test/TransformCanonicalTests.mo

    r8400 r8409  
    199019902 errors found:
    19911991
    1992 Error at line 1790, column 18, in file 'Compiler/ModelicaMiddleEnd/src/test/TransformCanonicalTests.mo':
     1992Error at line 1790, column 18, in file 'Compiler/ModelicaMiddleEnd/src/test/TransformCanonicalTests.mo',
     1993In component a:
    19931994  Variability of binding expression for attribute 'start' is not less than or equal to parameter variability: p1
    19941995
Note: See TracChangeset for help on using the changeset viewer.