Skip to content

Commit a701269

Browse files
committed
Fix bug in PySequenceArrayWrapper#GetTypeIDNode
1 parent fbba4e6 commit a701269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/PySequenceArrayWrapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -517,7 +517,7 @@ Object doByteArrayMultiCtx(@SuppressWarnings("unused") Object object,
517517
}
518518

519519
@Specialization(guards = "!hasByteArrayContent(object)", replaces = "doPtrArray")
520-
Object doPtrArrayMultiCtx(@SuppressWarnings("unused") PSequence object,
520+
Object doPtrArrayMultiCtx(@SuppressWarnings("unused") Object object,
521521
@Shared("callUnaryNode") @Cached PCallCapiFunction callUnaryNode) {
522522
return callUnaryNode.call(FUN_GET_PTR_ARRAY_TYPE_ID, 0);
523523
}

0 commit comments

Comments
 (0)