You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release-notes/rascal-0-40-x-release-notes.md
+47-3Lines changed: 47 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ In this post we report on the Rascal release 0.40.x
12
12
13
13
The public release 0.40.x follows release 0.28.x; many improvements have been made in projects that depend on the rascal interpreter and the standard library (the type checker, the VScode extensions, clair, etc.) Some of these improvements depend directly on fixes in the interpreter and additions to the standard library.
14
14
15
+
The Rascal type-checker which is available in the VScode extension is reaching maturity. The `.tpl` file format has changed, which requires everybody to throw the old ones away. The new type checker checks `.tpl` file versions and reports possible conflicts. Use `mvn clean` or remove your `bin` or `target` folders for all your projects and library projects today.
16
+
15
17
The support for XML, JSON and HTML as exchange formats has been improved or completely rewritten. The main feature that was added was the optional `loc src` keyword field that provides the exact location of each node as it appears in the XML, HTML or JSON source text.
16
18
17
19
A new `mvn://` scheme was added to be able to address with brief but unique notation the jar files in the local M2 repository. It supports two modes:
@@ -22,12 +24,54 @@ If `maven.repo.local` is set, then that is the root of the M2 repository. Otherw
22
24
A great deal of tests were fixed, enhanced or extended as a side-effect of the compiler project. Another visible aspect of the progress of the compiler is that now all Rascal runtime values (from vallang and beyond) now support `getFingerprint()` methods which help in optimizing pattern matching and dispatch in generated code by the compiler. These methods' return values have become a strict contract for future implementations of Rascal values, including parse trees and reified types and first-class functions.
23
25
24
26
The following issues were solved:
25
-
*string`visit` with unicode characters had a bug
27
+
*String`visit` with unicode characters had a bug
26
28
*`util::ShellExec` had some IO synchronization issues which were resolved.
27
29
* The JUnit test runners report exceptions better now.
28
30
* The broken and unused `stdout://` and `stdin://` resolvers were removed.
29
-
* The `IO::watch` functionality was improved for logical source locations. However the system is still too slow on Mac to work effectively in an interactive development environment.
30
-
* TODO
31
+
* The `IO::watch` functionality was improved for logical source locations. It is now fully functional on all systems with a JVM. However the system is still too slow on Mac to work effectively in an interactive development environment.
32
+
*[Identical inner functions are flagged as code clones](https://github.com/usethesource/rascal/issues/2067)
*[Add-assign of incompatible set types does not raise error](https://github.com/usethesource/rascal/issues/2056)
35
+
*[Missing a "info" or "warning" message at the call-site of @deprecated functions](https://github.com/usethesource/rascal/issues/2055)
36
+
*[deprecated module has squiqqlies over the entire file](https://github.com/usethesource/rascal/issues/2052)
37
+
*[`rascalTModelForLocs` does not return TModel](https://github.com/usethesource/rascal/issues/2050)
38
+
*[(common) keyword field projecten out of ADT produces dynamic instead of static type for the static type result.](https://github.com/usethesource/rascal/issues/2049)
39
+
*[Internal crash instead of static error for relation field projection on unlabeled relation types](https://github.com/usethesource/rascal/issues/2048)
40
+
*[Typechecker fails to report error on invalid function return type](https://github.com/usethesource/rascal/issues/2046)
41
+
*[Type checker reports undefined module after edit](https://github.com/usethesource/rascal/issues/2044)
*[In overlapping names, order matters for the typechecker](https://github.com/usethesource/rascal/issues/2026)
46
+
*[`Maybe::nothing` causes wrong type if used in adt keyword parameters](https://github.com/usethesource/rascal/issues/2025)
47
+
*[Two binds on both sides of the OR operator don't work if they are in a nested expression.](https://github.com/usethesource/rascal/issues/2024)
48
+
*[Rascal-core is generating prints in the monitor](https://github.com/usethesource/rascal/issues/2023)
49
+
*[Rascal type-checker crashed unexpectedly with: No module scope found for ...](https://github.com/usethesource/rascal/issues/2021)
50
+
*[What to expect: common keyword parameter of data declaration and keyword parameter of constructor have the same name](https://github.com/usethesource/rascal/issues/2019)
51
+
*[add function to identify possible addition of cycles on nodes](https://github.com/usethesource/rascal/issues/2018)
52
+
*[Typechecker reports used variable as unused](https://github.com/usethesource/rascal/issues/2014)
53
+
*[Overloads with different type parameter names cause error](https://github.com/usethesource/rascal/issues/2013)
54
+
*[Function that only throws exception is expected to have `bool` return type](https://github.com/usethesource/rascal/issues/2012)
55
+
*[Typechecker disallows assigning `nothing()` to field of type `Maybe`](https://github.com/usethesource/rascal/issues/2007)
56
+
*[Typechecker fails on `analysis::typepal::TypePal`](https://github.com/usethesource/rascal/issues/2006)
57
+
*[string editor `visit` fails with unicode matches.](https://github.com/usethesource/rascal/issues/2005)
*[Entry Buckets in ShareableValuesHashSet typically nest 4 or 5 times during a transitive closure on source locations (call graph)](https://github.com/usethesource/vallang/issues/235)
68
+
*[TypeFactory use of `checkNull` shows up on profiles](https://github.com/usethesource/vallang/issues/233)
69
+
*[Performance regression for transitive closure on large `rel[loc,loc]`](https://github.com/usethesource/vallang/issues/230)
70
+
*[Add identity ("kind") to types (for the benefit of generated code and runtime system)](https://github.com/usethesource/vallang/issues/209)
71
+
*[Add informative error messages to asserts](https://github.com/usethesource/vallang/issues/158)
72
+
*[evaluate efficiency of new hash-consing design in pr #131](https://github.com/usethesource/vallang/issues/135)
73
+
*[add IString::asReader to stream _from_ strings](https://github.com/usethesource/vallang/issues/71)
74
+
31
75
32
76
Standard library maintenance:
33
77
* Accurate and correct parsers of Windows and Unix file paths were added to the standard library. This includes a new `unc://` resolver to accurately represent the semantics of UNC paths, and `cwdrive://` which can represent the current working directory on a given drive letter on Windows.
0 commit comments