Set doesn't work in some conditions.

(* Input separately, whithout "()" or ";" *)

In[1]:= expr1 = x + y == 0 && x > 0
Out[1]= x + y == 0 && x > 0

In[2]:= expr2 = x + y == a && x > 0
Out[2]= x + y == a && x > 0

In[3]:= {expr1, expr2}
Out[3]= {expr1, x + y == a && x > 0}

Evaluating again would make the assignments successfully.

(* Chinese Edition *)

In[4]:= $Version
Out[4]= "10.3.1 for Microsoft Windows (64-bit) (December 21, 2015)"

I'm wondering if I have done something wrong. However, I found that Mathematica returned to normal behavior when I minimized the Suggestions Bar.

Any ideas?


closed as off-topic by MarcoB, m_goldberg, user9660, Michael E2, bbgodfrey Feb 7 '16 at 2:55

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – MarcoB, Michael E2, bbgodfrey
  • "The question is out of scope for this site. The answer to this question requires either advice from Wolfram support or the services of a professional consultant." – m_goldberg, Community
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ I cannot reproduce this problem at all, but here's something to try: permanently disable the suggestions bar, restart Mathematica, and try again. Does it work now? $\endgroup$ – Szabolcs Feb 3 '16 at 7:31
  • $\begingroup$ Well, then you have the solution. Turn off the suggestions bar. It's clearly a bug. You should report it to Wolfram support. $\endgroup$ – Szabolcs Feb 3 '16 at 8:06
  • $\begingroup$ So @Szabolcs you can reproduce it now? A ";" also avoid it happens. Hoping more tests to confirm it. $\endgroup$ – whxhsn Feb 3 '16 at 8:11
  • $\begingroup$ No, I cannot reproduce it with suggestions bar turned on on M10.3.1 OS X. But maybe you're on a different version of the paclet updates, who knows. I think it's a bug that you should report. I doubt it's because you have the Chinese version, that should make no difference. $\endgroup$ – Szabolcs Feb 3 '16 at 10:07
  • 5
    $\begingroup$ @Szabolcs: I'd really be interested whether the number of useful suggestions the suggestion bar has ever made to any user is at all larger than the questions about misbehavior it has triggered on this site alone... $\endgroup$ – Albert Retey Feb 4 '16 at 23:11