Ignore:
Timestamp:
Oct 23, 2019 2:44:30 PM (7 weeks ago)
Author:
Jonathan Kämpe
Message:

#5862 Now printing empty array subscripts in order to detect them in tests. Fixed a couple of occurences.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-jk-2597/Compiler/ModelicaMiddleEnd/src/jastadd/scalarization/Scalarization.jrag

    r13357 r13822  
    924924        FTempAccessExp res;
    925925        if (inFunction()) {
    926             res = new FTempAccessExp(new FAccessFull(name, fas));
     926            if (fas == null) {
     927                res = new FTempAccessExp(new FAccessFull(name));
     928            } else {
     929                res = new FTempAccessExp(new FAccessFull(name, fas));
     930            }
    927931        } else {
    928932            if (fas == null) {
Note: See TracChangeset for help on using the changeset viewer.