Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ public void visit(Visitor v) {
public KeYJavaType getKeYJavaType(Services services, ExecutionContext ec) {
IProgramMethod meth = method(services, determineStaticPrefixType(services, ec), ec);
if (meth == null) {
return ec.getTypeReference().getKeYJavaType();
throw new IllegalStateException(
"Could not determine type for method " + name.toString());
}
return meth.getReturnType();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package java.lang;

public final class Math {

private Math() {}

/*@ public normal_behavior
Expand Down Expand Up @@ -92,4 +92,6 @@ public static float max(float a, float b) {
public static double pow(double a , double b);
public static double exp(double a);
public static double atan(double a);

public static double random();
}
Loading