Skip to content

Commit f3a9d0a

Browse files
committed
Add test for dot access wrong builtin method
1 parent 96cb915 commit f3a9d0a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
val a = "hello"
2+
3+
a.what()
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
script.lkql:3:3: error: Cannot get member `what` for Str value
2+
3 | a.what()
3+
| ^^^^
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
driver: 'interpreter'
2+
project: 'default_project/default.gpr'

0 commit comments

Comments
 (0)