ML icon indicating copy to clipboard operation
ML copied to clipboard

Order of modules matters

Open khatchad opened this issue 1 year ago • 0 comments

Consider the two input files below:

  1. https://github.com/wala/ML/blob/404a34f5034a2647c512ae96a021a153f7abccd6/com.ibm.wala.cast.python.test/data/multi1.py
  2. https://github.com/wala/ML/blob/404a34f5034a2647c512ae96a021a153f7abccd6/com.ibm.wala.cast.python.test/data/multi2.py

Note that 1 uses 2. Thus, you must pass 2 to the engine before passing 1.

In other words, you cannot swap the two arguments below as still have the test pass:

https://github.com/wala/ML/blob/404a34f5034a2647c512ae96a021a153f7abccd6/com.ibm.wala.cast.python.test/source/com/ibm/wala/cast/python/test/TestMulti.java#L36

khatchad avatar Mar 12 '24 19:03 khatchad