goplus / gop

The Go+ programming language is designed for engineering, STEM education, and data science. Our vision is to enable everyone to become a builder of the digital world.
https://goplus.org
Apache License 2.0
8.91k stars 546 forks source link

多次include相对路径下文件时的问题 #134

Closed HuangDabao closed 4 years ago

HuangDabao commented 7 years ago

在/qlang/main.ql中include两个文件 include "a/b.ql" include "x/y.ql" 结果是第一个include的是/qlang/a/b.ql,第二个include的是/qlang/a/x/y.ql,而不是/qlang/x/y.ql

xujinzheng commented 6 years ago

请问这个Bug有临时解决方案吗

rainydew commented 5 years ago

请问这个Bug有临时解决方案吗

include "../x/y.ql" 行不行