• R/O
  • SSH

kink: Commit

Kink runtime


Commit MetaInfo

Revision32d91aaa449f7a0c748492f97a250f2886828ffc (tree)
Time2020-02-08 15:12:53
Authormiyakawataku
Commitermiyakawataku

Log Message

rename VARREF.varref? to VARREF.is?

Change Summary

Incremental Difference

diff -r d3577cb52f89 -r 32d91aaa449f src/main/resources/kink-mods/kink/VARREF.kn
--- a/src/main/resources/kink-mods/kink/VARREF.kn Sat Feb 08 15:08:21 2020 +0900
+++ b/src/main/resources/kink-mods/kink/VARREF.kn Sat Feb 08 15:12:53 2020 +0900
@@ -192,10 +192,10 @@
192192 'repr'
193193 ]
194194
195-## VARREF.varref?(Val)
195+## VARREF.is?(Val)
196196 #
197-# VARREF.varref? returns whether the Val is a varref.
198-:varref? <- {(:Val)
197+# VARREF.is? returns whether the Val is a varref.
198+:is? <- {(:Val)
199199 JAVA.wrap(Val).typable_as?(VarrefVal_class)
200200 }
201201
diff -r d3577cb52f89 -r 32d91aaa449f src/test/kink/VARREF_test.kn
--- a/src/test/kink/VARREF_test.kn Sat Feb 08 15:08:21 2020 +0900
+++ b/src/test/kink/VARREF_test.kn Sat Feb 08 15:12:53 2020 +0900
@@ -23,13 +23,13 @@
2323 }
2424 }
2525
26-TEST.group('VARREF.varref?'){
26+TEST.group('VARREF.is?'){
2727 TEST.test('true for varref'){
28- VARREF.varref?(:Foo) || raise('got false')
28+ VARREF.is?(:Foo) || raise('got false')
2929 }
3030
3131 TEST.test('false for nada'){
32- VARREF.varref?(nada) && raise('got true')
32+ VARREF.is?(nada) && raise('got true')
3333 }
3434 }
3535
Show on old repository browser