Frege / frege-interpreter

Frege Interpreter
15 stars 7 forks source link

code hides previously imported alias #26

Closed mperry closed 9 years ago

mperry commented 9 years ago

I suspect this should not be occurring when building using Gradle:

Interpreter.FregeInterpreter: compiling because class file doesn't exist W D:\repositories\frege-interpreter\frege-interpreter-core\src\main\frege\frege\interpreter\FregeInterpreter.fr:52: hiding previously (line 13) imported alias for function Global.liftIO through alias for class member value MonadIO.MonadIO.liftIO

valeryprayd commented 9 years ago

Agreed. Right now build fails. With --debug option I am getting this:

13:39:03.860 [ERROR] [system.err] W /home/vagrant/frege-repl/frege-repl-core/src/main/frege/frege/repl/FregeRepl.fr:17: hiding previously (line 9) imported alias for function 13:39:03.861 [ERROR] [system.err] Global.liftIO through alias for class member value MonadIO.MonadIO.liftIO 13:39:03.866 [ERROR] [system.err] W /home/vagrant/frege-repl/frege-repl-core/src/main/frege/frege/repl/FregeRepl.fr:19: hiding previously (line 12) imported alias for data type 13:39:03.866 [ERROR] [system.err] Swing.JTextComponent through alias for data type Gui.JTextComponent 13:39:03.866 [ERROR] [system.err] W /home/vagrant/frege-repl/frege-repl-core/src/main/frege/frege/repl/FregeRepl.fr:19: hiding previously (line 12) imported alias for data type 13:39:03.866 [ERROR] [system.err] Swing.JPanel through alias for data type Gui.JPanel 13:39:03.866 [ERROR] [system.err] W /home/vagrant/frege-repl/frege-repl-core/src/main/frege/frege/repl/FregeRepl.fr:19: hiding previously (line 12) imported alias for data type 13:39:03.870 [ERROR] [system.err] Swing.JComponent through alias for data type Gui.JComponent 13:39:06.728 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED

Ingo60 commented 9 years ago

Looks to me like gradle interprets the warnings as errors?

valeryprayd commented 9 years ago

Turned out this was caused by insufficient memory on my vagrant box, error just coincided with warnings, so, false alarm.