Skip to Content.
Sympa Menu

k-user - [[K-user] ] Error while concatenating

k-user AT lists.cs.illinois.edu

Subject: K-user mailing list

List archive

[[K-user] ] Error while concatenating


Chronological Thread 
  • From: Mihály Palenik <palenik.mihaly AT gmail.com>
  • To: k-user AT lists.cs.illinois.edu
  • Subject: [[K-user] ] Error while concatenating
  • Date: Thu, 23 Mar 2017 10:56:11 +0100

Hello,

I have this rule which put a map of Variable, Value pairs to the actual environment.

```
syntax K ::= putToActualEnv(Map)
rule putToActualEnv(.Map) => .K
rule <k> putToActualEnv(Key |-> Val M:Map) => putToActualEnv(M) ... </k>
      <env> Rho => Rho[Key <- !N:Int] </env>
      <store>... .Map => !N |-> Val ...</store>
```

It works perfectly but sometimes when I want to use krun with --debugger options I get error when K reaches putToActualEnv:
[Error] Critical: failed to concatenate maps with common keys: [(Int(#"1"),Int(#"55"),Int(#"14"))] while evaluating function _Map_

What is the problem in this case?

Thank you your answer in advance.

Best regards,
Mihály Palenik



Archive powered by MHonArc 2.6.19.

Top of Page