inda19plusplus / logik

Logisim clone
MIT License
2 stars 5 forks source link

Cannot get port state of a component that is not connected to a subnet. #48

Closed NogginBops closed 4 years ago

NogginBops commented 4 years ago

Currently the application panics when trying to get the port state of a component that is not connected to any subnet.

It would make the code a lot cleaner if it returned floating in this case instead.

While fixing this it might also be worth looking at having the component port states be independent to the subnet so it's easier to diagnose where conflicts arise. But this is only a minor concern.

Rickard-Martensson commented 4 years ago

Ill fixy fixy