Closed icebob closed 3 years ago
@nedpals : Can you please specify the version ( hash ) of vlang on which the above mentioned db example will run successfully?
in a quick look, it seems like the vlang compiler fails to process duplicate import statements. Am I right?
This problem is with the v compiler and not the vex problem It will be solved soon
@nedpals : Can you please specify the version ( hash ) of vlang on which the above mentioned db example will run successfully?
in a quick look, it seems like the vlang compiler fails to process duplicate import statements. Am I right?
Yes. I'll add a note to the readme today regarding that one
@icebob : Even though it is not an error from vex library, I tried a quick solution and it worked. The solution patch is given below.
diff --git a/router/router.v b/router/router.v
index 7431367..1c3532d 100644
--- a/router/router.v
+++ b/router/router.v
@@ -1,6 +1,6 @@
module router
-import ctx
+import nedpals.vex.ctx
import io
import net.http
import net.urllib
@harish2704 no need for the workaround. it has been fixed already here: https://github.com/vlang/v/pull/7699
Hi,
I've installed
vex
and trying it with a simple example code:But when I try to run it I've got it:
Could you help me? I'm using
V 0.2 e4f94b6
.Thanks in advance!