Skip to content

Commit

Permalink
Add warning for nested convertLocal calls
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Jan 6, 2024
1 parent d63e79c commit 68eb7bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vdmj/src/main/java/com/fujitsu/vdmj/mapper/ClassMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,11 @@ else if (mp.unmapped)
*/
private void mark()
{
if (marked != null)
{
errorStream.println("WARNING: Nested call to convertLocal?");
}

marked = new Vector<Long>();
}

Expand Down

0 comments on commit 68eb7bd

Please sign in to comment.