Repository navigation
Description
===> Compiling lfe
===> Compiling lfesrc/lfe_qlc.erl:35: Warning: variable 'Opts' is unused
src/lfe_ms.erl:302: Warning: function fetch_binding/2 is unused
src/lfe_macro.erl:625: Warning: function trim_stacktrace/1 is unused
src/lfe_macro.erl:1025: Warning: variable 'V' shadowed in 'fun'
src/lfe_eval.erl:128: Warning: variable 'M' shadowed in 'fun'
src/lfe_eval.erl:132: Warning: variable 'M' shadowed in 'fun'
src/lfe_eval.erl:469: Warning: function init_letrec_env/1 is unused
src/lfe_eval.erl:475: Warning: function extend_letrec_env/3 is unused
src/lfe_eval.erl:475: Warning: variable 'Fbs0' is unused
src/lfe_eval.erl:744: Warning: variable 'M' shadowed in 'fun'
src/lfe_eval.erl:748: Warning: variable 'M' shadowed in 'fun'
src/lfe_edlin_expand.erl:228: Warning: function over_non_symbol/3 is unused
src/lfe_codegen.erl:851: Warning: variable 'St' shadowed in 'fun'
src/lfe_codegen.erl:974: Warning: variable 'St' shadowed in 'fun'
src/lfe_codegen.erl:981: Warning: variable 'St' shadowed in 'fun'
src/lfe_codegen.erl:986: Warning: variable 'St' shadowed in 'fun'
===> Running Common Test suites...
===> Running Common Test suites.../Applications/Xcode.app/Contents/Developer/usr/bin/make erlc-lfec
make[1]: Nothing to be done for `erlc-lfec'.
test/andor_SUITE.lfe:94: Warning: this clause cannot match because of different types/sizes
test/andor_SUITE.lfe:94: Warning: this clause cannot match because a previous clause always matches
test/andor_SUITE.lfe:102: Warning: this clause cannot match because of different types/sizes
test/guard_SUITE.lfe:765: unbound symbol: guard_SUITE
test/guard_SUITE.lfe:765: unbound symbol: all
test/guard_SUITE.lfe:765: unbound function: #(function 3)
test/guard_SUITE.lfe:765: unbound symbol: guard_SUITE
test/guard_SUITE.lfe:765: unbound symbol: all
test/guard_SUITE.lfe:765: unbound function: #(function 3)
===> Hook for ct failed!It seems to be upset about the switch from fun to function. If I switch back, then all the tests pass again.
patch
diff --git a/test/guard_SUITE.lfe b/test/guard_SUITE.lfe
index 33b1344..e77d916 100644
--- a/test/guard_SUITE.lfe
+++ b/test/guard_SUITE.lfe
@@ -764,9 +764,9 @@
(defun is_function_2
([config] (when (is_list config))
- (line (test-pat 'true (is_function (id (function guard_SUITE all 1)) 1)))
+ (line (test-pat 'true (is_function (id (fun guard_SUITE all 1)) 1)))
(line (test-pat 'true (is_function (id (lambda () 'ok)) 0)))
- (line (test-pat 'false (is_function (id (function guard_SUITE all 1)) 0)))
+ (line (test-pat 'false (is_function (id (fun guard_SUITE all 1)) 0)))
(line (test-pat 'false (is_function (id (lambda () 'ok)) 1)))
(let ((F (lambda (_) 'ok)))Any idea what's going on here? I'm on Erlang 18.3.4, built using this Nix package, on macOS 10.11.5.
Metadata
Metadata
Assignees
Labels
No labels
Activity
rvirding commentedon Jul 15, 2016
That is weird. You seem to have got the latest test suites but are not running the latest version of the compiler and rest of the system. Are you sure your
lfeandlfeccommands are pointing to this version of lfe? rebar3 useslfecwhich needslfe.This should be fixed.
Update bin paths in rebar3 ct pre_hooks
Remove ./bin from $PATH on Travis
Update rebar.config, .travis.yml and bin/lfe
Update rebar.config, .travis.yml and bin/lfe
Update rebar.config, .travis.yml and bin/lfe
Update rebar.config, .travis.yml and bin/lfe