Kudos for a great bug report. Nice small, simple, test case. If only I
were always so diligent when I submit potential problems. :)
--
Onorio
On Monday, August 8, 2016 at 12:46:38 PM UTC-4, Eugene Pirogov wrote:
>
> I noticed the following difference between 1.3.2 and 1.4.0-dev (c15ca05)
> when constructing binaries:
>
> *<< "1 + 1 = ", "2" >>*
>
> 1.4.0-dev – works
> 1.3.2 – works
>
> And:
>
> *<< "1 + 1 = ", "#{2}" >>*
>
>
> 1.4.0-dev – doesn't work
>
> 1.3.2 – works
>
>
> The last example can be simplified to this: *<< "#{1}" >>*. Both elixir
> versions were compiled against erlang 19.0.
>
> In the last example, did something change between 1.3.2 and 1.4.0-dev?
> Looks like interpolating a string inside a binary no longer works? The code
> that raised the question for me here is this one:
> https://github.com/igas/faker/blob/master/lib/faker.ex#L35
>
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/7b7c1783-344c-43ab-b595-7745adf5fa30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.