Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Creating a variable with uppercase first letter breaks Ruby #176

Open
itamarst opened this issue Jun 16, 2016 · 0 comments
Open

Creating a variable with uppercase first letter breaks Ruby #176

itamarst opened this issue Jun 16, 2016 · 0 comments

Comments

@itamarst
Copy link
Contributor

itamarst commented Jun 16, 2016

Possibly variable names should be normalized somehow? Though parameters are probably an issue too.

(run) quark install --ruby test.q && quark run --ruby test.q
Checking environment ... done.
Parsing: test.q ....
Compiling quark code ... done.
Writing /home/itamarst/Datawire/quark/test.qc ......
Installing Ruby test with GEM ....
Done
-e: /tmp/run/gems/gems/test-0.0.1/lib/test.rb:9: dynamic constant assignment (SyntaxError)
    Hello = "hello"
           ^
(run) cat test.q
quark *;
void test() {
    String Hello = "hello";
}
@bozzzzo bozzzzo added this to the backend milestone Jul 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants