Skip to content

Commit 51d8238

Browse files
committed
4.0.2 prepare
1 parent 2f9fd88 commit 51d8238

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

README-EN-source.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ QLExpress4 supports omitting semicolons, making expressions more concise. For de
107107
<dependency>
108108
<groupId>com.alibaba</groupId>
109109
<artifactId>qlexpress4</artifactId>
110-
<version>4.0.0-beta.9</version>
110+
<version>4.0.2</version>
111111
</dependency>
112112
----
113113

README-source.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ QLExpress4 支持省略分号,让表达式更加简洁。具体参考 link:#
109109
<dependency>
110110
<groupId>com.alibaba</groupId>
111111
<artifactId>qlexpress4</artifactId>
112-
<version>4.0.0</version>
112+
<version>4.0.2</version>
113113
</dependency>
114114
----
115115

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.alibaba</groupId>
77
<artifactId>qlexpress4</artifactId>
88
<packaging>jar</packaging>
9-
<version>4.0.1</version>
9+
<version>4.0.2</version>
1010
<name>QLExpress</name>
1111
<description>QLExpress is a powerful, lightweight, dynamic language for the Java platform aimed at improving
1212
developers’ productivity in different business scenes.

src/test/resources/testsuite/independent/doc/convenient_syntax_elements.ql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// list
22
l = [1,2,3]
33
assert(l[0]==1)
4+
assert(l[-1]==3)
45
// Underlying data type of list is ArrayList in Java
56
assert(l instanceof ArrayList)
67
// map
@@ -13,4 +14,8 @@ m = {
1314
}
1415
assert(m['aa']==10)
1516
// Underlying data type of map is ArrayList in Java
16-
assert(m instanceof LinkedHashMap)
17+
assert(m instanceof LinkedHashMap)
18+
// empty map
19+
emMap = {:}
20+
emMap['haha']='huhu'
21+
assert(emMap['haha']=='huhu')

0 commit comments

Comments
 (0)