Changeset 8409
- Timestamp:
- Jan 20, 2016 11:30:39 AM (4 years ago)
- Location:
- trunk/Compiler
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/ModelicaFlatTree/src/jastadd/FlatUtil.jrag
r8311 r8409 309 309 } 310 310 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) { 313 314 boolean scalar = scalarized; 314 315 scalarized = true; 315 String res = prefixName(0, null, true, -1);316 String res = prefixName(0, null, eval, -1); 316 317 scalarized = scalar; 317 318 return res; -
trunk/Compiler/ModelicaFrontEnd/src/jastadd/errorcheck/ErrorCheck.jrag
r8400 r8409 551 551 inh InstComponentDecl ASTNode.errorEnclosingComponent(); 552 552 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 553 563 eq FlatRoot.getChild().errorEnclosingComponent() = null; 554 564 eq InstRoot.getChild().errorEnclosingComponent() = null; … … 557 567 syn String ASTNode.errorComponentName() { 558 568 InstComponentDecl parent = errorEnclosingComponent(); 559 return parent == null ? null : parent. qualifiedName();569 return parent == null ? null : parent.getFQName().scalarName(false); 560 570 } 561 571 -
trunk/Compiler/ModelicaFrontEnd/src/java/org/jmodelica/util/OptionRegistry.java
r8408 r8409 389 389 OptionType.compiler, 390 390 Category.user, 391 false,391 true, 392 392 "If enabled, the compiler will include the name of the component where the error was found, if applicable."), 393 393 FILTER_WARNINGS -
trunk/Compiler/ModelicaFrontEnd/src/test/CheckTests.mo
r8400 r8409 159 159 1 errors found: 160 160 161 Error at line 66, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', BINDING_EXPRESSION_TYPE_MISMATCH: 161 Error at line 66, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', BINDING_EXPRESSION_TYPE_MISMATCH, 162 In component a: 162 163 The binding expression of the variable x does not match the declared type of the variable 163 164 ")}))); … … 230 231 1 errors found: 231 232 232 Error at line 137, column 18, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', BINDING_EXPRESSION_TYPE_MISMATCH: 233 Error at line 137, column 18, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', BINDING_EXPRESSION_TYPE_MISMATCH, 234 In component a: 233 235 The binding expression of the variable x does not match the declared type of the variable 234 236 ")}))); … … 1332 1334 2 errors found: 1333 1335 1334 Warning at line 1275, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', TYPE_MISMATCH_IN_EXPRESSION: 1336 Warning at line 1275, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', TYPE_MISMATCH_IN_EXPRESSION, 1337 In component a: 1335 1338 Found error in disabled conditional: 1336 1339 Type error in expression: cat(1, {x[1]}, x[2:end] .- 1) .* x … … 1364 1367 2 errors found: 1365 1368 1366 Error at line 1306, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', TYPE_MISMATCH_IN_EXPRESSION: 1369 Error at line 1306, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/CheckTests.mo', TYPE_MISMATCH_IN_EXPRESSION, 1370 In component a: 1367 1371 Type error in expression: cat(1, {x[1]}, x[2:end] .- 1) .* {x, x} 1368 1372 type of 'cat(1, {x[1]}, x[2:end] .- 1)' is Real[1] -
trunk/Compiler/ModelicaFrontEnd/src/test/ConnectTests.mo
r8380 r8409 87 87 1 errors found: 88 88 89 Error at line 76, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ConnectTests.mo': 89 Error at line 76, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ConnectTests.mo', 90 In component c2: 90 91 Cannot find class or component declaration for cc 91 92 ")}))); -
trunk/Compiler/ModelicaFrontEnd/src/test/InnerOuterTests.mo
r8400 r8409 695 695 errorMessage=" 696 696 1 errors found: 697 Error at line 590, column 11, in file '...': 697 Error at line 590, column 11, in file '...', 698 In component a: 698 699 Cannot use component y in inner 'inner R r', because it is not present in outer 'outer R_0 r' 699 700 … … 733 734 2 errors found: 734 735 735 Error at line 622, column 11, in file '...': 736 Error at line 622, column 11, in file '...', 737 In component b.a: 736 738 Cannot find class or component declaration for y 737 739 738 Error at line 629, column 11, in file '...': 740 Error at line 629, column 11, in file '...', 741 In component b: 739 742 Cannot use component y in inner 'inner R r', because it is not present in outer 'inner outer R_0 r' 740 743 … … 771 774 1 errors found: 772 775 773 Error at line 665, column 11, in file '...': 776 Error at line 665, column 11, in file '...', 777 In component a: 774 778 Cannot use component k in inner 'inner R r', because it is not present in outer 'outer R_0 r' 775 779 ")}))); … … 932 936 1 errors found: 933 937 934 Warning at line 569, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/InnerOuterTests.mo': 938 Warning at line 569, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/InnerOuterTests.mo', 939 In component b: 935 940 Generated missing inner declaration for 'outer Real r' 936 941 ")}))); -
trunk/Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo
r8400 r8409 1454 1454 1 errors found: 1455 1455 1456 Error at line 1440, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_DECLARATION: 1456 Error at line 1440, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_DECLARATION, 1457 In components: 1458 x[1].y[1] 1459 x[1].y[2] 1460 x[2].y[1] 1461 x[2].y[2] 1457 1462 Array size mismatch in declaration of x, size of declaration is [2] and size of binding expression is [3] 1458 1463 ")}))); … … 1478 1483 1 errors found: 1479 1484 1480 Error at line 1464, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_DECLARATION: 1485 Error at line 1464, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_DECLARATION, 1486 In components: 1487 x[1].y[1] 1488 x[1].y[2] 1489 x[2].y[1] 1490 x[2].y[2] 1481 1491 Array size mismatch in declaration of x, size of declaration is [2] and size of binding expression is [2, 2] 1482 1492 ")}))); … … 1532 1542 1 errors found: 1533 1543 1534 Error at line 1522, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION: 1544 Error at line 1522, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION, 1545 In components: 1546 x[1] 1547 x[2] 1535 1548 Array size mismatch in modification of x, expected size is [2, 2] and size of binding expression is [2, 3] 1536 1549 ")}))); … … 1556 1569 1 errors found: 1557 1570 1558 Error at line 1546, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION: 1571 Error at line 1546, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION, 1572 In components: 1573 x[1] 1574 x[2] 1559 1575 Array size mismatch in modification of x, expected size is [2, 2] and size of binding expression is [2, 2, 2] 1560 1576 ")}))); … … 1580 1596 1 errors found: 1581 1597 1582 Error at line 1566, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION: 1598 Error at line 1566, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION, 1599 In components: 1600 x[1].y[1] 1601 x[1].y[2] 1602 x[2].y[1] 1603 x[2].y[2] 1583 1604 Array size mismatch in modification of the attribute start for the variable x, expected size is [2] and size of start expression is [3] 1584 1605 ")}))); … … 1604 1625 1 errors found: 1605 1626 1606 Error at line 1590, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION: 1627 Error at line 1590, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION, 1628 In components: 1629 x[1].y[1] 1630 x[1].y[2] 1631 x[2].y[1] 1632 x[2].y[2] 1607 1633 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] 1608 1634 ")}))); … … 1628 1654 1 errors found: 1629 1655 1630 Warning at line 1618, column 9, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH: 1656 Warning at line 1618, column 9, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH, 1657 In components: 1658 x[1] 1659 x[2] 1631 1660 Assuming 'each' for the modification 'x(start = {1,2})' 1632 1661 ")}))); … … 1652 1681 1 errors found: 1653 1682 1654 Error at line 1642, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION: 1683 Error at line 1642, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION, 1684 In components: 1685 x[1] 1686 x[2] 1655 1687 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] 1656 1688 ")}))); … … 1676 1708 1 errors found: 1677 1709 1678 Error at line 1666, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION: 1710 Error at line 1666, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION, 1711 In components: 1712 x[1] 1713 x[2] 1679 1714 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] 1680 1715 ")}))); … … 2003 2038 1 errors found: 2004 2039 2005 Warning at line 1993, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH: 2040 Warning at line 1993, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH, 2041 In components: 2042 c[1] 2043 c[2] 2006 2044 Assuming 'each' for the modification 'a(x(start = 1:3))' 2007 2045 ")}))); … … 2031 2069 1 errors found: 2032 2070 2033 Warning at line 2021, column 24, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH: 2071 Warning at line 2021, column 24, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ASSUMING_EACH, 2072 In components: 2073 c[1] 2074 c[2] 2034 2075 Assuming 'each' for the modification 'start = 1' 2035 2076 ")}))); … … 2174 2215 1 warnings found: 2175 2216 2176 Warning at line 2164, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', EACH_APPLIED_ON_SCALAR: 2217 Warning at line 2164, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', EACH_APPLIED_ON_SCALAR, 2218 In components: 2219 c[1] 2220 c[2] 2177 2221 The 'each' keyword should not be applied to a modification of a scalar component: each a(x = 1:3) 2178 2222 ")}))); … … 2230 2274 2 errors found: 2231 2275 2232 Error at line 2221, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION: 2276 Error at line 2221, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_ATTRIBUTE_MODIFICATION, 2277 In components: 2278 c[1] 2279 c[2] 2233 2280 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] 2234 2281 2235 Error at line 2221, column 35, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION: 2282 Error at line 2221, column 35, in file 'Compiler/ModelicaFrontEnd/src/test/ModificationTests.mo', ARRAY_SIZE_MISMATCH_IN_MODIFICATION, 2283 In components: 2284 c[1] 2285 c[2] 2236 2286 Array size mismatch in modification of x, expected size is [2, 3] and size of binding expression is scalar 2237 2287 ")}))); -
trunk/Compiler/ModelicaFrontEnd/src/test/NameTests.mo
r8380 r8409 117 117 1 errors found: 118 118 119 Error at line 106, column 4, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 119 Error at line 106, column 4, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 120 In component m: 120 121 Cannot find class declaration for B 121 122 ")}))); … … 168 169 1 errors found: 169 170 170 Error at line 158, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 171 Error at line 158, column 11, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 172 In component a: 171 173 Cannot find class or component declaration for x 172 174 ")}))); … … 190 192 1 errors found: 191 193 192 Error at line 180, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 194 Error at line 180, column 14, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 195 In component a: 193 196 Cannot find class or component declaration for y 194 197 ")}))); … … 212 215 1 errors found: 213 216 214 Error at line 201, column 5, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 217 Error at line 201, column 5, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 218 In components: 219 a1 220 a2 215 221 Cannot find class declaration for B 216 222 ")}))); … … 231 237 1 errors found: 232 238 233 Error at line 222, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 239 Error at line 222, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 240 In component c: 234 241 Cannot find class declaration for D 235 242 ")}))); … … 400 407 Cannot find component declaration for z 401 408 402 Error at line 386, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 409 Error at line 386, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 410 In component bb: 403 411 Cannot find class declaration for C 404 412 405 Error at line 386, column 39, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 413 Error at line 386, column 39, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 414 In component bb: 406 415 Cannot find component declaration for y 407 416 … … 2487 2496 2 errors found: 2488 2497 2489 Error at line 2477, column 29, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 2498 Error at line 2477, column 29, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 2499 In component x: 2490 2500 Cannot find component declaration for q 2491 2501 … … 3781 3791 1 errors found: 3782 3792 3783 Error at line 3769, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo': 3793 Error at line 3769, column 15, in file 'Compiler/ModelicaFrontEnd/src/test/NameTests.mo', 3794 In component a: 3784 3795 Duplicate component in same class: Real x 3785 3796 ")}))); -
trunk/Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo
r8380 r8409 1871 1871 1 errors found: 1872 1872 1873 Error at line 1848, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo': 1873 Error at line 1848, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo', 1874 In components: 1875 a 1876 b 1874 1877 Operator classes are only allowed in operator records and packages in operator records 1875 1878 ")}))); … … 2206 2209 1 errors found: 2207 2210 2208 Error at line 2196, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo': 2211 Error at line 2196, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo', 2212 In component c2: 2209 2213 Short class declarations extending an operator record may only modify attributes of members of the record 2210 2214 ")}))); … … 2246 2250 1 errors found: 2247 2251 2248 Error at line 2237, column 35, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo': 2252 Error at line 2237, column 35, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo', 2253 In component b: 2249 2254 Short class declarations extending an operator record may only modify attributes of members of the record 2250 2255 ")}))); … … 2280 2285 1 errors found: 2281 2286 2282 Error at line 2271, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo': 2287 Error at line 2271, column 37, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo', 2288 In component b: 2283 2289 Short class declarations extending an operator record may only modify attributes of members of the record 2284 2290 ")}))); … … 2403 2409 1 errors found: 2404 2410 2405 Error at line 2393, column 46, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo': 2411 Error at line 2393, column 46, in file 'Compiler/ModelicaFrontEnd/src/test/OperatorRecordTests.mo', 2412 In component c2: 2406 2413 Short class declarations extending an operator record may only modify attributes of members of the record 2407 2414 ")}))); -
trunk/Compiler/ModelicaFrontEnd/src/test/RecordTests.mo
r8400 r8409 1531 1531 1 errors found: 1532 1532 1533 Error at line 1485, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RecordTests.mo', CANNOT_INFER_ARRAY_SIZE_OF_VARIABLE: 1533 Error at line 1485, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RecordTests.mo', CANNOT_INFER_ARRAY_SIZE_OF_VARIABLE, 1534 In component d: 1534 1535 Can not infer array size of the variable a 1535 1536 ")}))); … … 1560 1561 1 errors found: 1561 1562 1562 Error at line 1523, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RecordTests.mo': 1563 Error at line 1523, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RecordTests.mo', 1564 In component d: 1563 1565 Circularity in binding expression of parameter: d.b.a = b.a 1564 1566 ")}))); -
trunk/Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo
r8403 r8409 251 251 1 errors found: 252 252 253 Error at line 241, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo': 253 Error at line 241, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', 254 In component e: 254 255 Cannot find class or component declaration for z 255 256 ")}))); … … 332 333 1 errors found: 333 334 334 Error at line 312, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo': 335 Error at line 312, column 19, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', 336 In component e: 335 337 Cannot find class or component declaration for z 336 338 ")}))); … … 1566 1568 1 errors found: 1567 1569 1568 Error at line 1544, column 56, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo': 1570 Error at line 1544, column 56, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', 1571 In component b: 1569 1572 Cannot find component declaration for w 1570 1573 ")}))); … … 1609 1612 1 errors found: 1610 1613 1611 Error at line 1587, column 62, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo': 1614 Error at line 1587, column 62, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', 1615 In component b: 1612 1616 Cannot find component declaration for w 1613 1617 ")}))); … … 3575 3579 1 errors found: 3576 3580 3577 Error at line 3555, column 22, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo': 3581 Error at line 3555, column 22, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', 3582 In component f: 3578 3583 Cannot use component y, because it is not present in constraining type of declaration 'replaceable B b constrainedby A' 3579 3584 ")}))); … … 3654 3659 1 errors found: 3655 3660 3656 Error at line 3634, column 22, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo': 3661 Error at line 3634, column 22, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', 3662 In component e: 3657 3663 Cannot use component y, because it is not present in constraining type of declaration 'replaceable D c constrainedby C' 3658 3664 ")}))); … … 3716 3722 3 warnings found: 3717 3723 3718 Warning at line 3693, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', PARAMETER_MISSING_BINDING_EXPRESSION: 3724 Warning at line 3693, column 12, in file 'Compiler/ModelicaFrontEd/src/test/RedeclareTests.mo', PARAMETER_MISSING_BINDING_EXPRESSION, 3725 In component a[:]: 3719 3726 The parameter a[:].b does not have a binding expression 3720 3727 3721 Compliance warning at line 3693, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', PARTIALLY_SUPPORTED_STRING_PARAMETERS: 3728 Compliance warning at line 3693, column 12, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', PARTIALLY_SUPPORTED_STRING_PARAMETERS, 3729 In component a[:]: 3722 3730 String parameters are only partially supported 3723 3731 … … 6009 6017 1 errors found: 6010 6018 6011 Error at line 5660, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo': 6019 Error at line 5660, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/RedeclareTests.mo', 6020 In component a: 6012 6021 Cannot find class or component declaration for y 6013 6022 ")}))); -
trunk/Compiler/ModelicaFrontEnd/src/test/TypeTests.mo
r8400 r8409 1047 1047 1 errors found: 1048 1048 1049 Error at line 1035, column 8, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo': 1049 Error at line 1035, column 8, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo', 1050 In component a2: 1050 1051 Recursive class structure 1051 1052 ")}))); … … 1071 1072 1 errors found: 1072 1073 1073 Error at line 1060, column 3, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo': 1074 Error at line 1060, column 3, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo', 1075 In component a: 1074 1076 Recursive class structure 1075 1077 ")}))); … … 1095 1097 1 errors found: 1096 1098 1097 Error at line 1083, column 8, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo': 1099 Error at line 1083, column 8, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo', 1100 In component a2: 1098 1101 Recursive class structure 1099 1102 ")}))); … … 1114 1117 1 errors found: 1115 1118 1116 Error at line 1103, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo': 1119 Error at line 1103, column 13, in file 'Compiler/ModelicaFrontEnd/src/test/TypeTests.mo', 1120 In component a: 1117 1121 Recursive class structure 1118 1122 ")}))); -
trunk/Compiler/ModelicaMiddleEnd/src/test/TransformCanonicalTests.mo
r8400 r8409 1990 1990 2 errors found: 1991 1991 1992 Error at line 1790, column 18, in file 'Compiler/ModelicaMiddleEnd/src/test/TransformCanonicalTests.mo': 1992 Error at line 1790, column 18, in file 'Compiler/ModelicaMiddleEnd/src/test/TransformCanonicalTests.mo', 1993 In component a: 1993 1994 Variability of binding expression for attribute 'start' is not less than or equal to parameter variability: p1 1994 1995
Note: See TracChangeset
for help on using the changeset viewer.