Forum Discussion

wst54321's avatar
wst54321
Visitor
9 years ago

SUB or FUNCTION defined twice even after delete all RAF

Hi All,

I meet a really headache issue, I was trying to integrate the RAF to my channel, however, after I follow the example to include necessary in manifest and my "homeScene.brs", the nightmare starts, the console keeps giving me


Found 1 compile error in file pkg:/components/screens/HomeScene/HomeScene.brs
--- SUB or FUNCTION defined twice. (compile error &had) in pkg:/components/screens/HomeScene/HomeScene.brs(1) 'Init'


I already discarded :
1. all the changes via git since the issue happen, and I found even my original copy can t work.
2. Reverse my version on git to a early working version, now has same compile problem.
3. Clone a new copy on my machine, same problem
4. Use another computer, Clone same code, can compile,but some function broken

How can I resolve the issue, I stucked in this for 3 days already. Nv expected this can be so complicated