On 5 Sep 2018, at 14:39, Stuart Halloway <stuart....@gmail.com> wrote:org.clojure/clojure {:mvn/version "1.10.0-alpha7"}
1.10.0-alpha7 includes the following changes since 1.10.0-alpha6:
(is (= (x (func y))))
error: java.lang.Exception: = expects more than one argument
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you have a few minutes to try out the tests in my repo to see if you get different results than I did, I'd be curious to hear if your results are different. I'd be more curious to learn of a way to write a unit test that gives the exception you see with Clojure 1.10.0-alpha7.
Doing a little bit more digging, I just did a Google search for:clojure "expects more than one argument"
src/easter/core.clj:6:3: suspicious-expression: = called with 1 args. (= x) always returns true. Perhaps there are misplaced parentheses?
Thank you! We’ve been testing against master-SNAPSHOT all along but we’ve decided we’ll try to take this to production (probably next week) to give the new ASM stuff a good run.
(which is a bit slow for us – we normally take alphas to production pretty much as they appear 😊 )
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
(ns io.pedestal.log |
"Logging via slf4j. Each logging level is a macro: trace, debug, |
info, warn, and error. Each namespace gets its own Logger. Arguments |
are key-value pairs, which will be printed as with 'pr'. The special |
key :exception should have a java.lang.Throwable as its value, and |
will be passed separately to the underlying logging API. |
One can override the logger via JVM or ENVAR settings." |
(:require clojure.string) |
(:import (org.slf4j Logger |
LoggerFactory |
MDC) |
(org.slf4j.spi MDCAdapter) |
(com.codahale.metrics MetricRegistry |
Gauge Counter Histogram Meter |
Slf4jReporter) |
(com.codahale.metrics.jmx JmxReporter) |
(io.opentracing Scope |
Span |
SpanContext |
Tracer |
Tracer$SpanBuilder) |
(io.opentracing.log.Fields) |
(io.opentracing.util GlobalTracer) |
(java.util Map) |
(java.util.concurrent TimeUnit) |
|
(io.opentracing.log.Fields) is invalid - it should be:
| |