]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Small Improvements
authorJérémie Astor <fennecdjay@gmail.com>
Sun, 16 May 2021 23:51:24 +0000 (01:51 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sun, 16 May 2021 23:51:24 +0000 (01:51 +0200)
Makefile
tests/refine/refined_fail.gw
tests/refine/refined_invalid_type.gw

index 42d7f34527abe262c99d739a0bd8f8b1eb37208d..90fcd1c1cc327ef1f46af338e99adcf8c0add50f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,12 +20,11 @@ test_ignore = tests/plug test/driver tests/module
 test_dir := $(filter-out $(test_ignore), $(test_dir_all))
 test_dir += examples
 
-
 CFLAGS += -Iutil/include -Iast/include -Ilibcmdapp/src -D_GNU_SOURCE
 CFLAGS += -Iast/libprettyerr/src -Ifmt/include
 
 # add commit hash to version for now
-CFLAGS += -DGWION_VERSION=\"$(shell git log -n1 --format="%h")\"
+CFLAGS += -DGWION_VERSION="\"$(shell git log -n1 --format="%h%m%cs")\""
 
 ifeq (${DEBUG_STACK}, 1)
 CFLAGS += -DDEBUG_STACK
index 21953427dba00aff4b7977f10bdb4fbac8dccd03..ce31edc332ef74e31f661c0ced850a371c733cb6 100644 (file)
@@ -1,3 +1,4 @@
+#! [contains] Unhandled PredicateFail
 typedef int MoreThan10
   when self > 10;
 
index 5e9954f32c38b61d473ff4e185d20f7a0f29e946..f0e8e13198008a100c15d833e457f4a23a496fc4 100644 (file)
@@ -1,3 +1,4 @@
+#! [contains] Invalid `when` predicate
 typedef int MoreThan10
   when <<< __func__ >>>;